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.