繁体   English   中英

npm install返回错误

[英]npm install returns errors

当我运行npm install时,出现以下错误。

npm WARN enoent ENOENT, open '/Users/IBricchi/package.json'
npm WARN generator-steroids@1.0.21 requires a peer of yo@1.8.1 || >=1.8.3 but none was installed.
npm WARN grunt-contrib-clean@1.0.0 requires a peer of grunt@>= 0.4.5 but none was installed.
npm WARN grunt-contrib-coffee@1.0.0 requires a peer of grunt@>= 0.4.5 but none was installed.
npm WARN grunt-contrib-concat@1.0.1 requires a peer of grunt@>=0.4.0 but none was installed.
npm WARN grunt-contrib-sass@1.0.0 requires a peer of grunt@>=0.4.0 but none was installed.
npm WARN grunt-extend-config@0.9.5 requires a peer of grunt@>=0.4.0 but none was installed.
npm WARN IBricchi No description
npm WARN IBricchi No repository field.
npm WARN IBricchi No README data
npm WARN IBricchi No license field.

我尝试过在线寻找答案,但是我尝试过的所有操作均无济于事。 任何帮助,将不胜感激。

看起来npm在/Users/IBricchi/package.json找不到package.json。 可能是您错误地从主目录运行了npm install。 您应该从项目的根目录运行npm install

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM