在Eclipse中安装node.js模块 [英] Install node.js modules in eclipse

查看:401
本文介绍了在Eclipse中安装node.js模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在日食环境中使用node.js和socket.io开发聊天应用程序。我已经在eclipse中安装了node.js,但是我不知道如何安装节点模块,例如express,socket io等。

I am trying to develop a chat app with node.js and socket.io in an eclipse environment. I have installed node.js in eclipse but I don't know how to install node modules such as expresss, socket io, etc.

请任何人告诉我如何设置eclipse环境中的节点模块。

Please anyone tell me how to setup node modules in an eclipse environment.

推荐答案

我不认为有Eclipse集成方法可以做到这一点。我的建议是您从 http://nodejs.org/download/ 下载node.js + npm,然后打开一个终端/ cmd并在您的node.js项目目录中执行 npm install myPackage

I dont think that there is an eclipse integrated way to do this. My suggestion is that you download node.js+npm from http://nodejs.org/download/ and then open up a terminal/cmd and in your node.js project directory do "npm install myPackage"

这篇关于在Eclipse中安装node.js模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆