Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

plugin stuck as installed if ctrl-c during install #274

Open
jdx opened this issue Aug 9, 2017 · 3 comments
Open

plugin stuck as installed if ctrl-c during install #274

jdx opened this issue Aug 9, 2017 · 3 comments

Comments

@jdx
Copy link
Contributor

jdx commented Aug 9, 2017

 ▸    'MODULE_NOT_FOUND': Cannot find module '/Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka'
Repairing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka... !
 ▸    Error parsing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka
Repairing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka... !
 ▸    yarn install --force --non-interactive --mutex=file:/Users/fvieira/Library/Caches/heroku/yarn --cache-folder=/Users/fvieira/Library/Caches/heroku/yarn exited with code 1
 ▸    warning No license field
 ▸    error An unexpected error occurred: "https://cli-npm.heroku.com/heroku--kafka: no such package available".
 ▸    
Repairing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka... done
Installing plugin heroku-kafka... !
 ▸    'MODULE_NOT_FOUND': Cannot find module '/Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka'
Repairing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka... !
 ▸    Error parsing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka
Repairing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka... !
 ▸    yarn install --force --non-interactive --mutex=file:/Users/fvieira/Library/Caches/heroku/yarn --cache-folder=/Users/fvieira/Library/Caches/heroku/yarn exited with code 1
 ▸    warning No license field
 ▸    error An unexpected error occurred: "https://cli-npm.heroku.com/heroku--kafka: no such package available".
 ▸    
Repairing plugin /Users/fvieira/.local/share/heroku/plugins/node_modules/heroku--kafka... !
 ▸    yarn --non-interactive --mutex=file:/Users/fvieira/Library/Caches/heroku/yarn --cache-folder=/Users/fvieira/Library/Caches/heroku/yarn exited with code 1
 ▸    warning No license field
 ▸    error An unexpected error occurred: "https://cli-npm.heroku.com/heroku--kafka: no such package available".
 ▸    

[3:12 PM]
i had to manually remove heroku--kafka from ~/.local/share/heroku/plugins/package.json

@jdx
Copy link
Contributor Author

jdx commented Aug 9, 2017

from @fnando

@jdx
Copy link
Contributor Author

jdx commented Aug 9, 2017

this happens because we add the plugin to package.json, then attempt to install. We could either add a ctrl-c hook or somehow know that the installation wasn't successful and remove it instead of attempting to repair later

@jdx
Copy link
Contributor Author

jdx commented Nov 17, 2017

a related problem that should also be resolved: if some kind of error is causing plugins:uninstall to fail it can't continue to uninstall the plugin

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

No branches or pull requests

1 participant