2015-03-08 124 views
1

我试图从终端运行此代码:“npm install”,但我收到此错误。 我该如何解决这个问题? 我试过这https://www.youtube.com/watch?v=bxvybxYFq2o但似乎不适用于我的问题。 感谢npm安装错误达尔文

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

回答

1

你应该改变你的package.json。只需将“engineStrict”更改为“engine-strict”即可,并且它对我的项目起作用。