简体   繁体   English

如何在 netbeans 上为 nodeJS 安装模块

[英]How to install modules for nodeJS on netbeans

I'm trying to use extra modules with nodeJS and netbeans, however when I try to search for the modules on netbeans it seems to simply hangup forever.我正在尝试将额外的模块与 nodeJS 和 netbeans 一起使用,但是当我尝试在 netbeans 上搜索模块时,它似乎只是永远挂断了。

Any idea what is going on?知道发生了什么吗? I already had the modules installed with npm install and command line, then I right click libraries on netbeans and the search hangs.我已经使用 npm install 和命令行安装了模块,然后我右键单击 netbeans 上的库,搜索挂起。

The installed modules are mysql & aws-sdk, and I'm using windows 7, 64 bits.安装的模块是 mysql 和 aws-sdk,我使用的是 Windows 7、64 位。 Also on the Tools > Options > General > Proxy definitions, there is a "Test Connnection" button.同样在工具 > 选项 > 常规 > 代理定义上,还有一个“测试连接”按钮。 If I click on it, I get a green check saying connection is OK.如果我点击它,我会看到一个绿色的勾,表示连接正常。

Thanks谢谢

在此处输入图片说明

Check if the option which you have selected is 'No Proxy', for some reason for me it was pre-selected the option 'Use System Proxy Settings' and then when i updated it failed.检查您选择的选项是否为“无代理”,出于某种原因,我预先选择了“使用系统代理设置”选项,然后当我更新时它失败了。 Once i changed it to 'No Proxy', the update installation worked.一旦我将其更改为“无代理”,更新安装就起作用了。

In Netbeans, Go into Tools-> Options -> Miscellaneous -> Node.js and see that you have configured the settings properly.在 Netbeans 中,进入 Tools-> Options -> Miscellaneous -> Node.js 并查看您是否已正确配置设置。

see this for more info, it is a plugin for NodeJS projects: http://timboudreau.com/blog/NetBeans_Tools_for_Node_js/read有关更多信息,请参阅此内容,它是 NodeJS 项目的插件: http : //timboudreau.com/blog/NetBeans_Tools_for_Node_js/read

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM