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.
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.
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