Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error: Cannot find module 'readable-stream'" when running heroku update #226

Closed
Taytay opened this issue Mar 16, 2016 · 4 comments
Closed

Comments

@Taytay
Copy link

Taytay commented Mar 16, 2016

To my knowledge, this Heroku installation on Linux has been working for some time without issue. However, now I get the following error when running heroku update:

$ heroku update
heroku-cli: Updating plugins...
 ▸    module.js:341
 ▸        throw err;
 ▸        ^
 ▸
 ▸    Error: Cannot find module 'readable-stream'
 ▸        at Function.Module._resolveFilename (module.js:339:15)
 ▸        at Function.Module._load (module.js:290:25)
 ▸        at Module.require (module.js:367:17)
 ▸        at require (internal/module.js:16:19)
 ▸        at Object.<anonymous> (/home/vagrant/.heroku/node-v5.7.1-linux-x64/lib/node_modules/npm/node_modules/npmlog/node_modules/are-we-there-yet/index.js:2:14)
 ▸        at Module._compile (module.js:413:34)
 ▸        at Object.Module._extensions..js (module.js:422:10)
 ▸        at Module.load (module.js:357:32)
 ▸        at Function.Module._load (module.js:314:12)
 ▸        at Module.require (module.js:367:17)
no plugins to update.
 !    To update this version of the Heroku client please use
 !    `apt-get install heroku-toolbelt`

I do not know if this is a factor or not, but here are my plugins:

$ heroku plugins
=== Installed Plugins
heroku-apps@1.2.4
heroku-cli-addons@0.2.1
heroku-fork@4.1.1
heroku-git@2.4.5
heroku-local@4.1.7
heroku-orgs@1.0.4
heroku-pipeline
heroku-pipelines@1.1.1
heroku-run@2.9.2
heroku-spaces@2.0.14
heroku-status@2.1.0
@jdx
Copy link
Contributor

jdx commented Mar 16, 2016

do you get this consistently? what is the output of heroku version?

@Taytay
Copy link
Author

Taytay commented Mar 16, 2016

I did get it consistently, and then I uninstalled and reinstalled, and that fixed it, so we can close this. Here was the version info at the time:

heroku version
heroku-toolbelt/3.42.33 (x86_64-linux) ruby/2.3.0
heroku-cli/4.27.26-693efcb (amd64-linux) go1.6
=== Installed Plugins
heroku-apps@1.2.4
heroku-cli-addons@0.2.1
heroku-fork@4.1.1
heroku-git@2.4.5
heroku-local@4.1.7
heroku-orgs@1.0.4
heroku-pipeline
heroku-pipelines@1.1.1
heroku-run@2.9.2
heroku-spaces@2.0.14
heroku-status@2.1.0

@Taytay Taytay closed this as completed Mar 16, 2016
@jdx
Copy link
Contributor

jdx commented Mar 16, 2016

that version of heroku-toolbelt is quite a bit out of date, that could've caused this

@Taytay
Copy link
Author

Taytay commented Mar 16, 2016

Thanks @dickeyxxx for the followup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants