运行gulp复制

时间:2019-05-22 14:13:11

标签: gulp

我正在尝试使用命令gulp copy:libs运行gulp,请参见以下源代码,但是出现错误:

var gulp = require('gulp'),
    plumber = require('gulp-plumber'),
    del = require('del'),
    sequence = require('run-sequence'),
    libPath = 'wwwroot/lib',
    nodeModulesPath = 'node_modules';

gulp.task('clean', function () {
  return del(libPath + '/**/*', { force: true });
});

gulp.task('copy:libs', function (done) {
    sequence('clean', 'copy:vendor', 'copy:rxjs', 'copy:angular', done);
});


gulp.task('default', ['compressScripts', 'watch']);

我遇到以下错误:

0 个答案:

没有答案