Gulp problem - two days fight


I’ve been trying to set my Bootstrap with gulp environment. I use YT videos cause I’m beginner in coding and all these IT stuff.

I set up everything as they said to be set but still have a problem:

    throw err;

AssertionError [ERR_ASSERTION]: Task function must be specified
    at Gulp.set [as _setTask] (C:\Users\Daniel\bs4\node_modules\undertaker\lib\set-task.js:10:3)
    at Gulp.task (C:\Users\Daniel\bs4\node_modules\undertaker\lib\task.js:13:8)
    at Object.<anonymous> (C:\Users\Daniel\bs4\gulpfile.js:21:6)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)

I Google it and only one thing works for me - install previous version of Gulp. In fact I want to set this all up-to-date instead using older version. I don’t know JS that well to try fix it up by myself. May be here someone can help me out with this. It takes me second day to figure it out :dizzy_face:


Then you should use webpack :nerd_face: /offtopic

Codepen is not suitable for posting this kind of code. Use or

I have found a solution but now, gulp compiles from scss to css but I cannot see it on my page :expressionless:

Check your pathnames. looks like gulp compiles into src/css and therefore index.html also has to be in src.

all is done. I am ready to work! Problem was in pathnames indeed!