Reputation: 229
When I click on Install 'mdbvue'
the following error appears in WebStorm:
I looked at this thread and it says that I have to set the right Run Configurations.
So I checked the path to node using which node
in the terminal:
Then, I changed the path in the Run/Debug Configurations for npm and Node.js to:
But it still doesn't work.
What am I doing wrong?
Upvotes: 4
Views: 3842
Reputation: 654
Go Webstorm preferences (CMD + , on mac), then choose node.js and npm
choose the node version that is installed on ur machine. I have NVM, so I choose version that are installed using NVM (easy to manage different node versions)
Upvotes: 6