udacity / ud892

MIT License
84 stars 425 forks source link

Lesson 3 Code runs in "AssertionError [ERR_ASSERTION]: Task function must be specified" #6

Open philbier opened 5 years ago

philbier commented 5 years ago

Hi,

I got the following error when running the gulp build code from Lesson 3:

"AssertionError [ERR_ASSERTION]: Task function must be specified"

I am using: NPM 6.4.1 NodeJS 10.15.0 Gulp (CLI 2.0.1 / Local 4.0.0)

Can somebody point me in the right direction pls?

Best regards, Phillip

mrizhakov commented 5 years ago

im getting the same issue. From what i understand the course was written for Gulp 3.9, and Gulp 4 introduces some changes. Would appreciate if someone can chime in.

mrizhakov commented 5 years ago

Here is a solution for Gulp https://github.com/udacity/ud892/blob/dd525ed91208626041c2ae11d42d4bdb15dc4582/Lesson%203/gulpfile.js(url)

AlaaMohammad commented 5 years ago

I have the same problem, I think this file should be updated to match the gulp 4 version

AlaaHamoudah commented 5 years ago

Facing same issue, any help with this?