【问题标题】:Install newer version of grunt安装新版本的 grunt
【发布时间】:2013-10-23 19:54:45
【问题描述】:

我在stackoverflow中提交this question‌,有人回答 现在我想安装更新版本的 grunt?

【问题讨论】:

  • 亲爱的反对者:这比您想象的要复杂,尽管已本地化,但实际上这是一个好问题。唉,这个密切的原因被删除了,因为 SO 众神已经下令。

标签: node.js npm gruntjs


【解决方案1】:

似乎该补丁尚未发布到已推送到 npm 的版本中。所以需要从github上获取master版本。

npm uninstall grunt
npm install https://github.com/gruntjs/grunt/archive/master.tar.gz

或 cmets 中提到的较短版本:

npm install gruntjs/grunt

【讨论】:

  • 我没有 grunt 版本
  • 您可以改为:npm i gruntjs/grunt,npm 将从 github 上的 master 分支安装。
猜你喜欢
  • 2016-10-13
  • 1970-01-01
  • 1970-01-01
  • 2015-07-08
  • 2017-01-07
  • 2013-08-07
  • 1970-01-01
  • 1970-01-01
  • 2012-09-16
相关资源
最近更新 更多