Study

gulp(걸프) Error(에러) 관련

메디츠 2023. 1. 7. 11:08
반응형

task 'wiredep' is not in you gulpfile.

modify gulpfile.js.

gulp.task('bower', function () {

return gulp.src(paths.views.main)

.pipe(wiredep({

directory: 'bower_components',

ignorePath: '..'

}))

.pipe(gulp.dest(yeoman.app));

});

 

angular is not installed. Try running `bower install`.

the .bowerrc has the directory as "bower_components" but it should be "app/bower_components"

the 'bower' task isn't being called in the gulpfile, i added it like this

gulp.task('serve', function (cb) {

runSequence('clean:tmp',

['lint:scripts'],

['start:client'],

['bower'],

'watch', cb);

});

 

Cannot GET /

modify bower.json

"appPath": "./",

 

events.js:160

throw er; // Unhandled 'error' event

build-custom custom-js error

excute .pipe(minifyJs()) or .pipe(gulp.dest('dist/js'));

 

반응형