I'm trying to use gulp on w7. gruntjs works .. node works ... If i start gulp without gulp file, it runs fine .. saying 'no gulpfile found'
gulp -v gives: cli version 3.5.6, local version 3.5.6
installed it using: npm install -g gulp npm install --save-dev gulp
If I use the following gulpfile:
var gulp = require('gulp');
It results in error dialog:
Windows Script Host
Line 1
Char 1
Object Expected
800A138F
Microsoft JScript runtime error
I did try a more lengthy gulp file, but same error ... by deleting lines, I tried to isolate the problem .. until the file was empty .. that was ok.
Any ideas?
Here are steps I used to solve that issue:
gulp.js
, rename it togulpfile.js
> npm install -g gulp
> gulp -v
You are good if you can see the version number of your gulp task runner!
If you're getting a
Microsoft JScript runtime error
it isn't running in node but rather in Windows Scripting Host. Ensure Node.exe is in yourPATH
.