粉笔版本从 2.4.2 更新到 3.0.0 后出现以下问题。gulp 构建失败导致生产构建失败。
--- frontend-maven-plugin:1.0:gulp (gulp build) @ vcedpa ---
[INFO] Running 'gulp.js build' in /auto/builds/idpa/main/640037/vcedpa-war/../ui
[ERROR] /auto/builds/idpa/main/640037/ui/node_modules/run-sequence/node_modules/chalk/source/index.js:3
[ERROR] const {stdout: stdoutColor, stderr: stderrColor} = require('supports-color');
[ERROR] ^
[ERROR]
[ERROR] SyntaxError: Unexpected token {
[ERROR] at exports.runInThisContext (vm.js:53:16)
[ERROR] at Module._compile (module.js:373:25)
[ERROR] at Object.Module._extensions..js (module.js:416:10)
[ERROR] at Module.load (module.js:343:32)
[ERROR] at Function.Module._load (module.js:300:12)
[ERROR] at Module.require (module.js:353:17)
[ERROR] at require (internal/module.js:12:17)
[ERROR] at Object. (/auto/builds/idpa/main/640037/ui/node_modules/run-sequence/index.js:5:14)
[ERROR] at Module._compile (module.js:409:26)
[ERROR] at Object.Module._extensions..js (module.js:416:10)
Immediate answer will be much appreciated.