Trying to add a new package I get the error below:
Going over settings everything looks good:
Any suggestions where to look next?
Press Shift twice to open the search window, start typing your query, for example, npm scripts , and select Show npm scripts from the list.
Enable Live EditPress Ctrl+Alt+S to open the IDE settings and select Build, Execution, Deployment | Debugger | Live Edit. Select Update Node.
You need to specify the path to npm.
go to settings->Languages and Frameworks->Node.js and NPM and click on the ... alongside Node interpreter and then click on ... beside npm package and give the path to npm, in my case it is /usr/lib/nodejs/npm
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With