Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro with gulp serve-dev #104

Open
edubranquinho opened this issue Jan 22, 2019 · 0 comments
Open

Erro with gulp serve-dev #104

edubranquinho opened this issue Jan 22, 2019 · 0 comments

Comments

@edubranquinho
Copy link

Tried the steps in the course AngularJS Patterns: Clean Code from pluralsight.
I Download the repo, did the npm install and all but when i run gulp serve-dev i get:

assert.js:42
throw new errors.AssertionError({
^

AssertionError [ERR_ASSERTION]: Task function must be specified
at Gulp.set [as _setTask] (D:\Desenvolvimento\Projetos\pluralsight\AngularJSPatternsCleanCode\github\ng-demos\modular\node_modules\undertaker\lib\set-task.js:10:3)
at Gulp.task (D:\Desenvolvimento\Projetos\pluralsight\AngularJSPatternsCleanCode\github\ng-demos\modular\node_modules\undertaker\lib\task.js:13:8)
at Object. (D:\Desenvolvimento\Projetos\pluralsight\AngularJSPatternsCleanCode\github\ng-demos\modular\gulpfile.js:64:6)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at execute (C:\Users\Eduardo Branquinho\AppData\Roaming\npm\node_modules\gulp\node_modules\gulp-cli\lib\versioned^4.0.0\index.js:36:18)
at Liftoff.handleArguments (C:\Users\Eduardo Branquinho\AppData\Roaming\npm\node_modules\gulp\node_modules\gulp-cli\index.js:175:63)
at Liftoff.execute (C:\Users\Eduardo Branquinho\AppData\Roaming\npm\node_modules\gulp\node_modules\liftoff\index.js:203:12)
at module.exports (C:\Users\Eduardo Branquinho\AppData\Roaming\npm\node_modules\gulp\node_modules\flagged-respawn\index.js:51:3)
at Liftoff. (C:\Users\Eduardo Branquinho\AppData\Roaming\npm\node_modules\gulp\node_modules\liftoff\index.js:195:5)
at C:\Users\Eduardo Branquinho\AppData\Roaming\npm\node_modules\gulp\node_modules\liftoff\index.js:165:9

I Belive it has something to do with a newer version of gulp that was installed maybe?

I have Windows
Gulp:
[22:07:10] CLI version 2.0.1
[22:07:10] Local version 4.0.0

Bower:
1.8.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant