Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialshaun bolak
Front End Web Development Techdegree Graduate 18,080 PointsSVG Sprite Tools - gulp command does not work -> gulp file is not set up correctly with current formatting?
So, I am getting the following gulp error when trying to run the gulp command with the project files, whilst in the correct folder path in terminal (svg-build-tool):
assert.js:374
throw err;
^
AssertionError [ERR_ASSERTION]: Task function must be specified
upon doing a bit of research, I came upon the following post regarding this issue: https://fettblog.eu/gulp-4-parallel-and-series/
because gulp.task(name, deps, func)
was replaced by gulp.task(name, gulp.{series|parallel}(deps, func))
So my question is, A.) If use of gulp was required as a pre-requisite to this specific video in this module, why was that not explicitly mentioned? And B.) if this is simply a file syntax error, resulting from the video being 3 years old, why haven't the video and subsequent files been updated?
I am not sure what to do with the information in the video now...
1 Answer
Jordan Burch
Front End Web Development Techdegree Graduate 14,981 PointsHey I was having the same problem that you had. Follow these instructions and it should work! how-to-fix-referenceerror-primordials-is-not-defined-error