不确定为什么,但是自从我的MacOS昨晚(10.14.4)升级以来,gulp build命令由于此错误而停止工作...
[11:47:52] Using gulpfile ~/TriApps/landedvibe/public/semantic/gulpfile.js
[11:47:52] Starting 'build'...
Building Semantic
[11:47:52] Starting 'build-javascript'...
Building Javascript
[11:47:52] Starting 'build-css'...
Building CSS
[11:47:52] 'build-css' errored after 4.52 ms
[11:47:52] TypeError: print is not a function
at Gulp.module.exports (/Users/trile/TriApps/landedvibe/public/semantic/tasks/build/css.js:92:11)
at module.exports (/Users/trile/TriApps/landedvibe/public/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/trile/TriApps/landedvibe/public/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/trile/TriApps/landedvibe/public/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/trile/TriApps/landedvibe/public/node_modules/orchestrator/index.js:134:8)
at runNextSet (/Users/trile/TriApps/landedvibe/public/node_modules/run-sequence/index.js:124:15)
at runSequence (/Users/trile/TriApps/landedvibe/public/node_modules/run-sequence/index.js:136:2)
at Gulp.module.exports (/Users/trile/TriApps/landedvibe/public/semantic/tasks/build.js:49:3)
at module.exports (/Users/trile/TriApps/landedvibe/public/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/trile/TriApps/landedvibe/public/node_modules/orchestrator/index.js:273:3)
[11:47:52] 'build' errored after 27 ms
[11:47:52] TypeError in plugin "run-sequence(build-css)"
我试图将gulp-print
升级到最新版本,但无济于事。
有人也有这个问题吗?