终端上运行节点安装命令的问题

时间:2020-06-30 04:47:40

标签: node.js npm terminal

enter image description here enter image description here在过去的一周中,每次遇到新错误时,我一直在尝试连接到项目服务器。这次我在运行npm install命令时遇到了问题。

我的退出状态为

1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ]

我收到此消息作为最终错误:

Failed at the v8-debug@0.7.7 install script, This is probably not a problem with npm. There is likely additional logging output above

任何帮助将不胜感激。

编辑:我添加了我遇到的整个错误日志的图像 Error logs

Error logs 2

新的错误图片: new error log 1

new error log 2

1 个答案:

答案 0 :(得分:0)

尝试删除node_modules文件夹,然后运行命令npm install。如果那不能解决问题,请检查是否可以通过npm成功运行任何其他命令。试试这个命令: npx create-react-app“我的应用” 看看是否可行。