Skip to content Skip to sidebar Skip to footer

Gulp Run Fails On Windows | Error Message : Microsoft Jscript Compilation Error, Invalid Character

I installed Node.js on my windows 7 local machine as this link says : install-node-js-npm-windows After that i installed Gulp.js by this command through command line : npm inst

Solution 1:

You need to run "node node_modules\gulp\bin\gulp.js install", just add "node" command in front of it and also refer to the link below for more

Error running gulp on Windows 10

I can't comment but did you run "npm install" after forking the repository, to install package.json "dependencies, dev-dependencies"?

Gulp need to be installed Globally and also in your current working directory.

Run the code below to installed Gulp globally, and the other to install the repository dependencies.

npm install -g gulp
npm install

This answer is correct, But what was the problem in my side? I shouldn't add this path :

C:\Users\Majid\AppData\Roaming\npm\node_modules\gulp\bin

To environment variable area.

I went to the root folder in cmd & reinstalled gulp globally and re ran npm install & finally gulp watch worked very well.

Post a Comment for "Gulp Run Fails On Windows | Error Message : Microsoft Jscript Compilation Error, Invalid Character"