heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Cannot install core-plugins #1938

Closed pazams closed 8 years ago

pazams commented 8 years ago

Trying to heroku login results in toolbelt update, but the update fails on a checksum issue:

heroku-cli: Installing core plugins (retrying)... !
 ▸    Error installing package. 
 ▸    npm ERR! Linux 3.13.0-83-generic
 ▸    npm ERR! argv "/home/ma/.heroku/node-5.10.1-linux-amd64/node" "/home/ma/.heroku/npm-3.8.5/cli.js" "install" "heroku-apps" "heroku-cli-addons" "heroku-fork" "heroku-git" "heroku-local" "heroku-orgs" "heroku-pipelines" "heroku-run" "heroku-spaces" "heroku-status"
 ▸    npm ERR! node v5.10.1
 ▸    npm ERR! npm  v3.8.5
 ▸    
 ▸    npm ERR! shasum check failed for /tmp/npm-4982-01098438/cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz
 ▸    npm ERR! Expected: 1915dc888751e2a6bf3c2abfcb1808fa86c72353
 ▸    npm ERR! Actual:   da39a3ee5e6b4b0d3255bfef95601890afd80709
 ▸    npm ERR! From:     https://cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz
 ▸    npm ERR! 
 ▸    npm ERR! If you need help, you may report this error at:
 ▸    npm ERR!     <https://github.com/npm/npm/issues>
 ▸    
 ▸    npm ERR! Please include the following file with any support request:
 ▸    npm ERR!     /home/ma/.heroku/npm-debug.log
 ▸    
 ▸    Try running again with GODE_DEBUG=info to see more output.
 !    error getting commands pid 4946 exit 1

This issue is similar to https://github.com/npm/npm/issues/12457

jdx commented 8 years ago

Mind trying out the beta that doesn't require npm? Run 'heroku update beta' On Wed, Apr 27, 2016 at 2:52 PM pazams notifications@github.com wrote:

Trying to heroku login results in toolbelt update, but the update fails on a checksum issue:

heroku-cli: Installing core plugins (retrying)... ! ▸ Error installing package. ▸ npm ERR! Linux 3.13.0-83-generic ▸ npm ERR! argv "/home/ma/.heroku/node-5.10.1-linux-amd64/node" "/home/ma/.heroku/npm-3.8.5/cli.js" "install" "heroku-apps" "heroku-cli-addons" "heroku-fork" "heroku-git" "heroku-local" "heroku-orgs" "heroku-pipelines" "heroku-run" "heroku-spaces" "heroku-status" ▸ npm ERR! node v5.10.1 ▸ npm ERR! npm v3.8.5 ▸ ▸ npm ERR! shasum check failed for /tmp/npm-4982-01098438/cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz ▸ npm ERR! Expected: 1915dc888751e2a6bf3c2abfcb1808fa86c72353 ▸ npm ERR! Actual: da39a3ee5e6b4b0d3255bfef95601890afd80709 ▸ npm ERR! From: https://cli-npm.heroku.com/http-proxy/-/http-proxy-1.11.3/1915dc888751e2a6bf3c2abfcb1808fa86c72353.tgz ▸ npm ERR! ▸ npm ERR! If you need help, you may report this error at: ▸ npm ERR! https://github.com/npm/npm/issues ▸ ▸ npm ERR! Please include the following file with any support request: ▸ npm ERR! /home/ma/.heroku/npm-debug.log ▸ ▸ Try running again with GODE_DEBUG=info to see more output. ! error getting commands pid 4946 exit 1

This issue is similar to npm/npm#12457 https://github.com/npm/npm/issues/12457

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/heroku/heroku/issues/1938

pazams commented 8 years ago

Beta works. though I find it odd npm fails only me?! I use npm daily to develop and also publish packages. Thanks.

jdx commented 8 years ago

It seems to fail for a lot of people, I don't know why. I've tried to fix it, but since it continues to fail for some users we decided to drop it.