imooc-lego/imooc-cli

运行脚手架命令报错

Closed this issue · 0 comments

  • 运行命令 imooc-cli
  • 报错信息:
D:\nodejs\node_global\node_modules\@imooc-cli\core\node_modules\_@imooc-cli_utils@1.1.1@@imooc-cli\utils\lib\Git\Git.js:120
  prepare = async () => {
          ^

SyntaxError: Unexpected token =
    at new Script (vm.js:80:7)
    at createScript (vm.js:274:10)
    at Object.runInThisContext (vm.js:326:10)
    at Module._compile (internal/modules/cjs/loader.js:664:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)