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

salesforce/cli v2.13.9 (WRONGLY INSTALLED) error #455

Closed
benji1304 opened this issue Oct 30, 2023 · 7 comments
Closed

salesforce/cli v2.13.9 (WRONGLY INSTALLED) error #455

benji1304 opened this issue Oct 30, 2023 · 7 comments

Comments

@benji1304
Copy link

I'm getting this error on Hardis dependencies, but everything is working.

Working on a mac

Not sure what to do?

@nvuillam
Copy link
Member

@benji1304 it is indeed working, but salesforce/cli updates won't work as you installed it using Mac installer

Can you uninstall it then reinstall it with node.js using npm install @salesforce/cli -g ?

@benji1304
Copy link
Author

Fixed! Thanks for your help :)

@nvuillam
Copy link
Member

You're welcome:)

@benji1304
Copy link
Author

benji1304 commented Nov 3, 2023

hey @nvuillam
Still getting this error on new and existing projects. It was OK previously though?

@benji1304
Copy link
Author

sorted! It was because i'd downgraded my node version due to an issue, and didn't realise this would break!

@nvuillam
Copy link
Member

nvuillam commented Nov 3, 2023

I think node 18 is the minimum required :)

@benji1304
Copy link
Author

I downgraded to Node 20 due to this issue
forcedotcom/cli#2535

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