【问题标题】:npm install error darwinnpm安装错误达尔文
【发布时间】:2015-03-08 20:57:53
【问题描述】:

我尝试从终端运行此代码:“npm install”,但收到此错误。 我怎样才能解决这个问题? 我试过这个https://www.youtube.com/watch?v=bxvybxYFq2o 但似乎不适用于我的问题。 谢谢

npm install
npm WARN engineStrict Per-package engineStrict (found in package.json for gulp-concat)
npm WARN engineStrict won't be used in npm 3+. Use the config setting `engine-strict` instead.
npm WARN engineStrict Per-package engineStrict (found in package.json for gulp)
npm WARN engineStrict won't be used in npm 3+. Use the config setting `engine-strict` instead.
npm WARN engineStrict Per-package engineStrict (found in package.json for vinyl-fs)
npm WARN engineStrict won't be used in npm 3+. Use the config setting `engine-strict` instead.
npm ERR! Darwin 12.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.7.0

npm ERR! null == true

【问题讨论】:

    标签: node.js macos terminal gulp


    【解决方案1】:

    你应该改变你的 package.json。只需将“engineStrict”更改为“engine-strict”,它对我的​​项目有效。

    【讨论】:

      猜你喜欢
      • 2023-03-30
      • 2012-02-09
      • 2022-01-10
      • 2016-04-03
      • 1970-01-01
      • 2014-11-21
      • 2015-10-24
      • 2014-07-27
      相关资源
      最近更新 更多