Gulp:必须指定任务功能

时间:2019-06-13 12:33:16

标签: gulp gulp-watch

大口吃 assert.js:362     犯错     ^

AssertionError [ERR_ASSERTION]:任务未定义:翻译     在getFunction(D:\ web \ node_modules \ undertaker \ lib \ helpers \ normalizeArgs.js:15:5)     在地图上(D:\ web \ node_modules \ arr-map \ index.js:20:14)     在normalizeArgs(D:\ web \ node_modules \ undertaker \ lib \ helpers \ normalizeArgs.js:22:10)     在Gulp.parallel(D:\ web \ node_modules \ undertaker \ lib \ parallel.js:13:14)     在D:\ web \ gulpfile.js:176:10     在对象。 (D:\ web \ gulpfile.js:293:2)     在Module._compile(内部/模块/cjs/loader.js:774:30)     在Object.Module._extensions..js(内部/模块/cjs/loader.js:785:10)     在Module.load(internal / modules / cjs / loader.js:641:32)     在Function.Module._load(内部/模块/cjs/loader.js:556:12)     在Module.require(internal / modules / cjs / loader.js:681:19)     在要求时(内部/模块/cjs/helpers.js:16:16)     在执行时(C:\ Users \ IsmayilliIX \ AppData \ Roaming \ npm \ node_modules \ gulp-cli \ lib \ versioned \ ^ 4.0.0 \ index.js:36:18)     在Liftoff.handleArguments(C:\ Users \ IsmayilliIX \ AppData \ Roaming \ npm \ node_modules \ gulp-cli \ index.js:201:24)     在Liftoff.execute(C:\ Users \ IsmayilliIX \ AppData \ Roaming \ npm \ node_modules \ gulp-cli \ node_modules \ liftoff \ index.js:201:12)     在module.exports(C:\ Users \ IsmayilliIX \ AppData \ Roaming \ npm \ node_modules \ gulp-cli \ node_modules \ flagged-respawn \ index.js:51:3){   generateMessage:否,   代码:“ ERR_ASSERTION”,   实际:未定义,   预期:是的,   运算子:'==' }

0 个答案:

没有答案