2016-03-26 19 views
0
heroku git:clone -a damp-rando-1234 
Installing Heroku Toolbelt v4... done 
heroku-cli: Installing core plugins.../home/amanda/.heroku/node_modules/heroku-local/commands/run.js:17 
    process.argv.push(...context.args); 
        ^^^ 

SyntaxError: Unexpected token ... 
    at exports.runInThisContext (vm.js:53:16) 
    at Module._compile (module.js:413:25) 
    at Object.Module._extensions..js (module.js:452:10) 
    at Module.load (module.js:355:32) 
    at Function.Module._load (module.js:310:12) 
    at Module.require (module.js:365:17) 
    at require (module.js:384:17) 
    at Object.<anonymous> (/home/amanda/.heroku/node_modules/heroku-local/index.js:8:3) 
    at Module._compile (module.js:434:26) 
    at Object.Module._extensions..js (module.js:452:10) 
heroku-cli: Installing core plugins (retrying).../home/amanda/.heroku/node_modules/heroku-local/commands/run.js:17 
    process.argv.push(...context.args); 
        ^^^ 

它重複一切從語法錯誤上四次,然後用Heroku的失敗,`錯誤閱讀插件:Heroku的-local`

▸ Error reading plugin: heroku-local 
▸ exit status 1 

我試圖刪除並重新安裝Heroku的退出,但我發現同樣的錯誤。

我猜這些插入符號試圖告訴我一些關於問題的地方,但我很難過。

這裏有一些類似的問題,但都是通過銷燬~/.heroku或重新安裝來解決的。而且都沒有爲我工作。我在Ubuntu Wily上。

注:Heroku的支持,讓我給他們``GODE_DEBUG =信息的Heroku的輸出update`

+0

Konstantin Zolotarev的答案爲我工作。也許你可以發佈刪除〜/ .heroku文件夾後會發生什麼?我假設你說你重新安裝時,你正在重新安裝最新版本? – GarethD

+0

我通過https://toolbelt.heroku.com/install-ubuntu.sh中的安裝步驟手動安裝 - 將存儲庫添加到'/ etc/apt/sources.list.d/heroku.list'中,然後使用'apt-get'來安裝。 – Amanda

回答

2

看來,新版本與舊相媲美。 我也有同樣的問題。通過刪除~/.heroku文件夾解決

+0

我很沮喪。我用'apt'刪除了'heroku-toolbelt',並確認刪除了'〜/ .heroku'。但事實上,再次刪除文件夾*似乎已經清除了事情。沒有意義,但工作。 – Amanda