timboudreau / nb-nodejs

NodeJS support for NetBeans, originally hosted on netbeans.org
MIT License
91 stars 12 forks source link

Add libraries returns zero results #39

Closed forgetso closed 9 years ago

forgetso commented 9 years ago

Hi,

I am running Windows 7 64-bit, NetBeans IDE 8.0 (Build 201403101706), v2.2 of your plugin, and I have installed nodejs and also updated npm to 2.1.16.

My plugin configuration is as follows:

C:\Program Files\nodejs\node.exe C:\Users\christ\AppData\Roaming\npm\node_modules\npm\bin\npm.cmd

When searching for libraries, zero results are found, no matter what I enter. I found similar issues but none that were exactly the same. Is there something wrong with my setup?

Thanks

timboudreau commented 9 years ago

In Tools > Options > Miscellaneous > Node.js, check what is set for NPM Binary and check that that program actually exists and runs. If not, browse for npm.exe - after that it should work. It sounds like either it isn't installed, or it is but not in a place the plugin knows to automatically look for it.