You need to run "node node_modules \ gulp \ bin \ gulp.js install", just add the "node" command in front of it, and also refer to the link below for more
Error while working gulp on Windows 10
I canβt comment, but did you run "npm install" after formatting the repository to install package.json dependencies, dev-dependencies?
Gulp must be installed globally as well as in the current working directory.
Run the code below to install gulp globally and the other to install repository dependencies.
npm install -g gulp npm install
This answer is correct, but what was the problem on my side?
I should not add this path:
C: \ Users \ Majid \ AppData \ Roaming \ NPM \ node_modules \ gulp \ Bin
In the environment variable field.
I went to the root folder in cmd and reinstalled gulp globally and ran npm install and finally gulp watch . very good.
source share