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

warning "@heroku-cli/plugin-integration > @oclif/core > [email protected]" has unmet peer dependency "@types/node@*". #3113

Open
shiladityab24 opened this issue Nov 29, 2024 · 3 comments

Comments

@shiladityab24
Copy link

This project is for the Heroku CLI only and issues are reviewed as we are able. If you need more immediate assistance or help with anything not specific to the CLI itself, please use https://help.heroku.com.

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Getting this error on the heroku cli whenever I am trying to run heroku update command . PFB,

image

What is the expected behavior?

Expected behaviour- the heroku update command should work fine, instead its giving error

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2" heroku: Updating plugins... ! » Error: yarn --prod --non-interactive --mutex=file:C:\Users\shiladitya\AppData\Local\heroku\node_modules\@heroku-cli\plugin-addons-admin\yarn.lock » --preferred-cache-folder=C:\Users\shiladitya\AppData\Local\heroku\yarn --check-files --registry=https://registry.npmjs.org exited with code 1

heroku cli version

image

OS- Windows 11

@shiladityab24
Copy link
Author

shiladityab24 commented Nov 29, 2024

Update: after restarting my PC, I am still getting this error, screenshot attached below

image

Also after installing heroku-pg-extras plugin, I was getting issue everytime whenever I run any heroku cli command, issue already mentioned , PFB the details,

heroku/heroku-pg-extras#214

@k80bowman
Copy link
Contributor

@shiladityab24 I unfortunately was unable to reproduce this error. It looks like the failure happens because of something to do with the integrations plugin. The type errors are not part of the failure. They are annoying and we have them on our list to fix, but they should not cause problems beyond the warning message.

I'm assuming the update fails, but just to be sure, are you able to run any heroku commands after trying to update?

If so, you might try running heroku plugins:uninstall @heroku-cli/plugin-integration to uninstall the plugin and then run heroku plugins:install @heroku-cli/plugin-integration to reinstall it?

@k80bowman
Copy link
Contributor

Just adding a note here that I was eventually able to reproduce this error for the heroku update command by installing the integration plugin, downgrading the CLI to v9.5.1 by running heroku update --version=9.5.1 and then upgrading to v10 by running heroku update stable. This is the error I am seeing:
image

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

No branches or pull requests

2 participants