user3149761
user3149761

Reputation: 41

Error running gulp on Windows 10

I'm running Windows 10 build 10576(latest) and I get an error when running gulp from my project root folder(or anywhere). Here's a screenshot of the error: http://puu.sh/l3mLf/522a4e6dbe.png Error message says "invalid character". (I've installed gulp globally) The very first line of gulp.js in the bin folder is the following:

#!/usr/bin/env node  

I didn't have this problem before and I'd really want to get this sorted out. Thanks.

Upvotes: 2

Views: 2172

Answers (1)

Tinchan
Tinchan

Reputation: 51

I have the same error when try running "node_modules\gulp\bin\gulp.js install".

I found the solution here at Testing out Protractor interactively

Just add "node" command in front of it will work. In my case "node node_modules\gulp\bin\gulp.js install"

Upvotes: 2

Related Questions