Install node and grunt

Source: Internet
Author: User

As I used Win8, 2503 and 2502 errors occurred when installing nodejs. Solution:

Enter cmd and enter msiexec/package [path: Location of the node to be installed]

The operation is shown in:

 

 

After the previous step, you can install the node normally. To determine whether the installation is successful, you can press Ctrl + R and enter node-v.

The new node version already contains NPM, so no additional installation is required. Enter NPM-V to view the NPM version.

 

After installing node, you can install grunt. [Refer to the steps on the Chinese official website: http://www.gruntjs.org /]

Step 1: Enter NPM install-G grunt-cli

Step 2: NPM install grunt -- save-Dev

Step 3: Configure environment variables. Copy the bin path under grunt to path and click OK.

 

Return to the command line and enter grunt-version to view your grunt version number. It also indicates that you have successfully installed grunt.

Install node and grunt

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.