(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