FountainJS / generator-fountain-angular2

Yeoman 'fountain' generator to start a webapp with Angular 2
http://fountainjs.io
MIT License
82 stars 19 forks source link

Issue running gulp #88

Closed hugobluefuse closed 7 years ago

hugobluefuse commented 7 years ago

Description

Installing and running the generator worked fine. But when running gulp, an error message is shown. See below:

Error Message & Stack Trace

[15:10:51] Loading C:\projects\web\laravel\angular\gulp_tasks\browsersync.js [15:10:51] Loading C:\projects\web\laravel\angular\gulp_tasks\karma.js [15:10:51] Loading C:\projects\web\laravel\angular\gulp_tasks\misc.js [15:10:51] Loading C:\projects\web\laravel\angular\gulp_tasks\webpack.js [15:10:52] Using gulpfile C:\projects\web\laravel\angular\gulpfile.js C:\Users\Hugo\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129 gulpInst.start.apply(gulpInst, toRun); ^

TypeError: Cannot read property 'apply' of undefined at C:\Users\Hugo\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129:19 at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) at Module.runMain (module.js:592:11) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:509:3

Specs

Windows 10 NPM 3.10.8 Node 6.6.0

Is it me?

zckrs commented 7 years ago

https://github.com/FountainJS/generator-fountain-webapp/issues/53#issuecomment-225375085

zckrs commented 7 years ago

We use Gulp4 you should:

  • use npm run serve OR
  • install gulp-cli instead of gulp in global (npm r -g gulp && npm i -g gulp-cli)
hugobluefuse commented 7 years ago

My bad.

I'll close the ticket down. Thanks for the help

zckrs commented 7 years ago

Np :smiley: