Skip to content Skip to sidebar Skip to footer

How Can I Add A Build Task On My Gulpfile?

I am trying to install a project named 'BOSS'. This is what i got when i tried to run bin/buildout -c frontend.cfg. You can check the whole installation step on HERE. @

Solution 1:

To answer your question: when you run gulp x, your gulpfile.js has to include

gulp.task('x' ... );

In your case, you could run gulp i18n, which would run the task named i18n or you could rename the i18n task to build and then run gulp build.


Note there are a bunch of things going on here. To start with, it looks like you haven't initialized your package.json - that's what the

npm WARN package.json boss-admin@1.0.0 No description
npm WARN package.json boss-admin@1.0.0 No README data
npm WARN package.json angular-perfect-scrollbar@0.0.5 No repository field.
npm WARN package.json eslint-plugin-class-property@0.0.3 Norepositoryfield.

are coming from. Run

npm init

and it'll walk you through initialization (you'll want to back up your current package.json first).

I recommend you start by working through https://css-tricks.com/gulp-for-beginners/

Post a Comment for "How Can I Add A Build Task On My Gulpfile?"