Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build

守給你的承諾、 提交于 2019-12-10 10:35:40

问题


Having this issue when using npm install. (lots of other people had this issue aswell with other commands/tasks).

I'm adding this question as a reference to a solution that has already worked for quite a few people.


回答1:


russfrisch commented 4 days ago:

I was experiencing this same issue. Changing in the version for grunt-node-inspector to prepend a ">=" instead of a "~" got this to work for me.

Link to github page where I found this solution.




回答2:


On Ubuntu 16.04, what worked for me was upgrading node

updating nodejs on ubuntu 16.04

I am replicating solution from the above link below

To update, you can install n

sudo npm install -g n

Then just :

sudo n latest

or a specific version

sudo n 8.9.0

Then try and install

sudo npm install <package>


来源:https://stackoverflow.com/questions/33643759/failed-at-the-v8-debug0-4-6-install-script-node-pre-gyp-install-fallback-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!