cli icon indicating copy to clipboard operation
cli copied to clipboard

Plugin installation errors

Open karambaq opened this issue 5 years ago • 7 comments

Heroku version:

heroku/7.5.0 darwin-x64 node-v11.9.0
$ heroku plugins:install heroku-accounts DEBUG="*"                    
error An unexpected error occurred: "https://cli-npm.heroku.com/heroku-accounts: Hostname/IP does not match certificate's altnames: Host: cli-npm.heroku.com. is not in the cert's altnames: DNS:*.herokuapp.com, DNS:herokuapp.com".
Installing plugin heroku-accounts... !
Error: yarn add heroku-accounts@latest --non-interactive --mutex=file:/Users/peq/.local/share/heroku/yarn.lock --preferred-cache-folder=/Users/peq/Library/Caches/heroku/yarn --check-files --registry=https://cli-npm.heroku.com exited with code 1
    at ChildProcess.forked.on (/usr/local/Cellar/heroku/7.5.0_1/libexec/lib/node_modules/heroku/node_modules/@oclif/plugin-plugins/lib/yarn.js:31:28)

OS: MacOS Mojave 10.14.5

karambaq avatar May 29 '19 14:05 karambaq

Same here on heroku/7.0.52 linux-x64 node-v10.1.0

piotrkot avatar Jun 13 '19 09:06 piotrkot

Update to the latest CLI version via heroku update and try installing the plugin again.

RasPhilCo avatar Jun 17 '19 23:06 RasPhilCo

Update to the latest CLI version via heroku update and try installing the plugin again.

Didn't work, same issue.

karambaq avatar Jun 18 '19 15:06 karambaq

What is the output of heroku plugins --core?

RasPhilCo avatar Jun 19 '19 15:06 RasPhilCo

$ heroku plugins --core                                                                                                                               ~ 
@oclif/plugin-commands 1.1.1 (core)
@oclif/plugin-help 2.0.5 (core)
@oclif/plugin-legacy 1.0.16 (core)
@oclif/plugin-not-found 1.1.2 (core)
@oclif/plugin-plugins 1.5.2 (core)
@oclif/plugin-update 1.2.13 (core)
@oclif/plugin-which 1.0.1 (core)
addons-v5 7.5.1 (core)
apps-v5 7.5.1 (core)
auth 7.5.1 (core)
certs 7.5.1 (core)
certs-v5 7.5.1 (core)
ci-v5 7.5.1 (core)
config 7.5.1 (core)
container-registry-v5 7.5.1 (core)
git 7.5.1 (core)
heroku 7.5.0 (core)
local-v5 7.5.1 (core)
oauth-v5 7.5.1 (core)
orgs-v5 7.5.1 (core)
pg-v5 7.5.1 (core)
pipelines-v5 7.5.1 (core)
ps 7.5.1 (core)
ps-exec 2.3.4 (core)
redis-v5 7.5.1 (core)
run-v5 7.5.1 (core)
spaces 7.5.1 (core)
status 7.5.1 (core)
webhooks-v5 7.5.1 (core)

karambaq avatar Jun 20 '19 06:06 karambaq

You're still on version 7.5.1, you'll need to upgrade to 7.25.x.

RasPhilCo avatar Jun 20 '19 17:06 RasPhilCo

I'm getting a similar error, but it's a fresh install of Heroku and it's the most up-to-date version.

Screen Shot 2022-08-28 at 1 26 36 PM 53

I'm assisting students in deploying a Java app to Heroku and have run across this error on several machines. I've found that if I navigate to ~/.local/share/heroku/ the yarn.lock file doesn't exist on their machines, but it does on the ones that successfully install the plugins. We've installed, reinstalled node, yarn, heroku already but without effect. (although a reinstall of node on one device did work!)

We have a workaround of starting a new user account on the device and then it works, but this is less than ideal. Any advice?

andreChmielewski avatar Aug 28 '22 19:08 andreChmielewski