我尝试从终端运行此代码:" 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

答案 0 :(得分:1)
你应该改变你的package.json。只需改变" engineStrict"对于"引擎严格" ,它对我的项目起作用。