Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install all required modules from gulpfile.js

Tags:

npm

gulp

Is it possible install all required modules from gulpfile.js with command line?

like image 753
Vladyslav Havrylenko Avatar asked Apr 24 '17 11:04

Vladyslav Havrylenko


People also ask

How do I install all node js modules?

If you want to install all the node_modules from the package. json file you simply put: npm install in terminal (on the same directory where the package. json exists) and it would install all the node modules in the folder called node_modules .

How do I install gulp globally?

To install the Gulp CLI globally, on your command line, run npm install gulp-cli -g . The -g flag means npm will install the package in the global npm directory, so you can run the gulp command from any directory.

How do I install gulp on Windows 10?

To install Gulp, open the terminal in the same directory you created the gulpfile. js file and run npm i gulp --save-dev , once it has finished running type gulp talktome in to the command line. Hello From Zestcode should appear in the terminal. If it does, congratulations!


1 Answers

Yes, you need to install the npm-install-all package.

After doing so, try below the commands, taken from the Usage 1 subheading in the docs at npm-install-all:

Usage 1:

npm-install-all gulpfile.js
like image 200
Kasiriveni Avatar answered Oct 02 '22 19:10

Kasiriveni