Nodejs NPM Install and bower install related issues

Source: Internet
Author: User

(1) npm Install bower-g

(2) npm Install--global Gulp

The first two steps in the CMD run in order to ensure that the global installation, the project will automatically appear in the Bower folder, otherwise there is no such folder, the execution of Bower install will also fail!!

If this is done, there is still no bower_components folder in the project . you need terminal in the lower left corner of the project (installed in terminal for the current project installation).

npm Install Bower--save-dev //No--save, the file will not be automatically included in the Package.json.

(3) Bower Install

If you do not have the Bower folder after the CMD global installation, you will need to perform the NPM install Bower--save in the terminal for installation bower)

(4) npm Install

NPM Install XX, the file will appear in the module folder directory, such as NPM installed after the error: Lodash version is low, you can directly NPM install Lodash to install the latest version of Lodash. The ps:express framework also needs to be installed in NPM (when prompted for no express).

Note: I am also a beginner, the vocabulary may not be professional, hope to understand.

Nodejs NPM Install and bower install related issues

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.