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

sfdx-cli v (missing) (WRONGLY INSTALLED) #109

Closed
anthonygiuliano opened this issue Aug 17, 2023 · 4 comments · Fixed by #108
Closed

sfdx-cli v (missing) (WRONGLY INSTALLED) #109

anthonygiuliano opened this issue Aug 17, 2023 · 4 comments · Fixed by #108
Assignees

Comments

@anthonygiuliano
Copy link

Hello and thank you for all the work you put into Hardis!

When I open the Dependencies panel in vscode, it reports "sfdx-cli v (missing) (WRONGLY INSTALLED)". I believe that sf and sfdx are installed properly (via npm 9.8.1). It doesn't seem to impact any functionality that I've noticed, but how can I make sure there isn't something wrong with my setup?

I'm using VS Code 1.81.1 on an M1 Mac, if that makes any difference.

Dependencies Panel Output

sf @salesforce/cli/2.4.10 darwin-arm64 node-v18.17.0
sfdx @salesforce/cli/2.4.10 darwin-arm64 node-v18.17.0
sfdmu v4.30.0
sfdx-cli v (missing) (WRONGLY INSTALLED)
sfdx-essentials v2.12.0
sfdx-git-delta v5.24.2
sfdx-hardis v3.19.4
texei-sfdx-plugin v1.17.3
Node.js v18.17.0
Git v2.39.2 (Apple Git-143)
Salesforce Extensions Pack

About VS Code Output

Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
Date: 2023-08-09T22:40:25.698Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.6.0

@nvuillam
Copy link
Member

@anthonygiuliano thanks for using sfdx-hardis :)

Please can you type where sfdx in your command line and post here the result ?

@nvuillam
Copy link
Member

Note: this might be related to hardisgroupcom/sfdx-hardis#384 , which is an ongoing job and top priority , for the moment sfdx-hardis checks for sfdx-cli and not @salesforce/cli , but the update is coming very soon :)

@anthonygiuliano
Copy link
Author

Note: this might be related to hardisgroupcom/sfdx-hardis#384 , which is an ongoing job and top priority , for the moment sfdx-hardis checks for sfdx-cli and not @salesforce/cli , but the update is coming very soon :)

Oh this must be the same thing then. My sf and sfdx are both linked in ~/.nvm/versions/node/v18.17.0/bin/ and both point to ~/.nvm/versions/node/v18.17.0/lib/node_modules/@salesforce/cli/bin/run

@nvuillam
Copy link
Member

Oh, you are using nvm (and that's good ^^), i know how to fix that , stay tuned for the next release :)

Meanwhile you can ignore this annoying warning:)

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

Successfully merging a pull request may close this issue.

2 participants