在Windows 8.1中使用npm install -g heroku-cli安裝heroku後,出現此錯誤在Heroku --version在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)