Running NPM scripts doesnt use wsl in windows 10?

Hello,

 

Please is there any way i can configure php storm to use the wsl configuration i set for my windows instead of the default command prompt?.

 

After setup, php storm's terminal is wsl, but when i use the run npm tab or run anything , it switches back to command prompt?.. is there anything i am doing wrong?

1
2 comments

Please check this blog post, specifically the Support for Node.js on Windows Subsystem for Linux section:

https://blog.jetbrains.com/webstorm/2018/06/webstorm-2018-2-eap-182-3208/

1

Great! I checked the blog entry and it worked instantly by adding a new NPM instance.

0

Please sign in to leave a comment.