Intellij Idea v15.0
NodeJs plugin v143.381.11
Originally tested in:
Intellij Idea v14.1.4
NodeJs plugin v141.1509
Trying to use bower as described here: https://www.jetbrains.com/idea/help/using-bower-package-manager.html
- Installed NodeJs
- Installed bower with "npm install -g bower"
- Ran "bower init"
Then in Idea:
- Loaded NodeJS plugin and set paths to npm, bower, and bower.json
- Clicked "+" button to list packages
Got an error that says "Failed to List All Bower Packages". Looking at the full command that failed, it appears to be running "/usr/local/bin/npm /usr/local/bin/bower search --json" which fails with the same output if I run that from the command line. I can run "bower search --json" or "/usr/local/bin/bower search --json" successfully from the command line however. Here is a screen grab of the full error:
Any idea what's wrong and how I can get this working? Thanks!