【发布时间】:2020-10-12 22:45:16
【问题描述】:
安装产品:https://github.com/facebookarchive/fbctf/wiki/Installation-Guide,-Production
这是我尝试通过任何给定方法(直接、docker 和 vagrant)安装时收到的错误消息:
[+] 运行 grunt 生成 JS 文件 /var/www/fbctf/node_modules/grunt-legacy-log-utils/node_modules/chalk/source/index.js:106 ...风格, ^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/www/fbctf/node_modules/grunt-legacy-log-utils/index.js:12:13)
【问题讨论】:
标签: javascript node.js facebook gruntjs