Ntvs node. js Tools for Visual Studio installs a collection of wonderful problems.

Source: Internet
Author: User
Tags install node

The first is the correct installation method. In the case of VS 2012, operating system Windows Server R2, it is recommended to use a virtual machine.

1. Install vs 2012

2. Upgrade 2012 to update 4

Note: Be sure to upgrade, not after installing 1.0 alpha, you will be prompted to "do not reference an object to an instance" when you create the project. F5 cannot debug debug after installing 1.0 beta. In short, upgrade is not nonsense.

3. Install Node.msi is the node Windows installation package http://nodejs.org/download/Select the corresponding operating system download, installation is also the next.

4. Install Ntvs https://nodejstools.codeplex.com/releases/view/104141 Note There are vs vs2013 and each version has a corresponding three versions Latest Dev build,1.0 beta,1.0 Alpha I installed this time 1.0 alpha.

Attention:

1.0 Alpha Initial version, this article can debug debugging the simplest.

1.0 Beta test version after the installation of the site can not F5 debug debugging, the VS template path will need to change all JS files to utf-8 format (I did not try to write this article).

Latest Dev Build board not much to say is not very stable.

5. Open vs File-"New-" project-"To install-" template-"javascript-" Blank Express application will then automatically create the site based on the template. During the creation process, you will be prompted to download the latest modules and so on, and the point is yes, you may want to download it for a while.

Note: Do not attempt to create through the file-"new-" web site, the template will be wrong.

6. The point F5 operation will error. Open the project tree on the right.  Current solution-"Currently running project-" Views folder-"Layout.jade file-" double click to open. After opening the file, the first behavior "DOCTYPE 5" is modified to "DOCTYPE HTML". Then the F5 debugging should not error.

Note: The 6th task is that the error that occurs when installing 1.0 Alpha does not represent a different version.

If you have any other questions please reply to me, I add thank you.

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.