在 Windows 8.1 中使用 npm install -g heroku-cli 安装 heroku 后,我在 heroku --version 上收到此错误
C:\Users\Lenovo\AppData\Roaming\npm\node_modules\heroku-cli\node_modules\cli-eng
ine\lib\cli.js:70
async run() {
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\hero
ku-cli\bin\run.js:2:34)