簡體   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