Configuring the node. JS development environment in Eclipse

Source: Internet
Author: User

Online this aspect of the course is quite a lot of, but compared to the pit is, write only 0 broken, I first installed, simple record:

1. Confirm that the computer is installed Eclipse,node.js

The node. js Download and installation tutorial directly refer to the Novice tutorial on the line, installation is simple, always next, until finish, of course, the installation directory can be changed, node. JS's address has been automatically added to the system path path, so do not have to control its environment variables

2. Install the Nodeclipse plugin in Eclipse,

Select a few of the more important installations,

3. Open the command line, enter the NODE-V results will show the node version,

4. Install Express enter NPM Install-g Express directly on the command line to install and then enter npm install-g express-generator

See if Express is installed successfully, command line input Express--version Others say input express-v I lost 100 times. Version replaced by express--version Direct display

Of course you can go to this directory to see if there are any express related files if there is an indication that the installation was successful.

5. Installing Supervisor

Why install it, because I used node. js for the first time so I had no idea, I found a message online:

The installation method is simple, input on the command line: NPM install-g Supervisor

6. Creating a node. js project seems to require additional plugins.

Vjet Editor Tip plugin : http://download.eclipse.org/vjet/updates-0.10 This is a statement auto prompt, like Eclipse's alt+/but I haven't tested it yet.

Google Development Plugin : http://chromedevtools.googlecode.com/svn/update/dev/This seems to be a remote debugging use, I am not particularly clear

These 2 addresses are from the Internet to find, directly in the eclipse search can, but I tried, are not under, so I did not, do not know who has resources, welcome to share

7. Configure the path for Nodeclipse in eclipse

When you do not have supervisor installed, the path path selects the NODE,JS installation path, and if supervisor is installed, the route selected is the same as Express

8. Complete these, restart Eclipse, create a node. JS project or Node.express project, and test directly.

9. Of course, if you have done what I said above, I have already tested it .... Hee Hee

(rough writing) not to be continued

Configuring the node. JS development environment in Eclipse

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.