I want to install some dependencies and in this case installing node-pty. But when I run it they give me this error:
Error: The module \'/home/dev/Do
In case anyone stumbles over this using WebStorm:
The terminal window in WebStorm uses system settings for node, but the run configuration could use a different version, so npm install in the terminal could lead to this error. Just change the node version in your run configuration and it should be fine.