Bower support : node is not reconized

Good day, 


I am trying to configure IntelliJ to support Bower and unfortunately there is a problem : it says that it cannot load packages. In logs there is a stacktrace : 


Caused by: com.intellij.execution.ExecutionException: Exit code of 'C:/nodejs/bower.cmd search --json' is 1. Stdout:

'node' is not recognized as an internal or external command,
operable program or batch file.

at com.intellij.lang.javascript.bower.BowerCommandRun.captureOutput(
at com.intellij.lang.javascript.bower.BowerAvailablePackagesManager.lambda$getOrCreateLoadRun$0(
at com.intellij.lang.javascript.bower.BowerAvailablePackagesManager.getOrCreateLoadRun(
at com.intellij.lang.javascript.bower.BowerAvailablePackagesManager.getOrLoadAvailablePackages(
... 9 more


While at the same time just running "node" from terminal works perfectly fine :( 

Could you please help me out here ? 


Thank you for your help and time.


1 comment
Comment actions Permalink

is 'node' on your %PATH%? Please restart Webstorm - does the problem persist? If yes, try running `echo %PATH%` in its terminal - what is the result? also, try running `C:/nodejs/bower.cmd search --json` in terminal and provide the output


Please sign in to leave a comment.