日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

npm安装不上nodemon_node.js - NPM安装在nodemon@1.18.9后安装脚本处失败 - 堆栈内存溢出...

發布時間:2025/4/17 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 npm安装不上nodemon_node.js - NPM安装在nodemon@1.18.9后安装脚本处失败 - 堆栈内存溢出... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

命令“ npm install”給我以下錯誤:

> nodemon@1.18.9 postinstall C:\Users\Nikhil\Music\tab-tracker\server\node_modules\nodemon

> node bin/postinstall || exit 0

npm WARN server@1.0.0 No description

npm WARN server@1.0.0 No repository field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! file bashcls

npm ERR! path bashcls

npm ERR! code ELIFECYCLE

npm ERR! errno ENOENT

npm ERR! syscall spawn bashcls

npm ERR! nodemon@1.18.9 postinstall: `node bin/postinstall || exit 0`

npm ERR! spawn bashcls ENOENT

npm ERR!

npm ERR! Failed at the nodemon@1.18.9 postinstall script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR! C:\Users\Nikhil\AppData\Roaming\npm-cache\_logs\2018-12-16T19_09_40_364Z-debug.log

從錯誤消息中可以看出,npm安裝在nodemon@1.18.9安裝后腳本處失敗。 我嘗試過類似的操作,刪除node_modules文件夾,然后再次重新運行“ npm install”命令,會出現相同的錯誤。 另外,我嘗試按照此答案的建議清理npm緩存,但它不起作用。 嘗試分開安裝nodemon會產生與上述相同的錯誤。

總結

以上是生活随笔為你收集整理的npm安装不上nodemon_node.js - NPM安装在nodemon@1.18.9后安装脚本处失败 - 堆栈内存溢出...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。