You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the latest version of sfx-cli from downloaded from npm.
I can run all commands successfully in terminal but when I try to use this VSCode extension in the outputs tab I can see it giving me an error
"SFDX CLI not found, install it from ..."
Steps To Reproduce:
Install sfdx-cli from npm.
Try running "SFDX: Open default scratch org"
Expected result
Default Scratch org should be opened
Actual result
On the bottom left in the toolbar I can see the name of default scratch org but when the command is run or when I click on it, nothing happens and output shows "SFDX CLI not found, install it from ..."
Additional information
I uninstalled the npm version of the cli and downloaded it from the standard mac installer and commands started working fine in VSCode which confirms this bug with npm versions of sfdx-cli.
VS Code Version: 1.25
SFDX CLI Version: 6.28.0
OS and version: MacOS Sierra 10.12.6
The text was updated successfully, but these errors were encountered:
I use this frequently so I can confirm that this works. t's likely a set up issue somewhere.
My suspicion is that your PATH in the terminal is different from what you have for VS Code.
Check your terminal path
Open your terminal
Executeecho $PATH. Could you show me the output of that?
Check your VS Code path
In VS Code, Help > Toggle Developer Tools
In the console at the bottom of the screen, could you show me the output of typing in process.env.PATH?
If everything is set up properly, the paths should match and there should be something like the global node_module directory with the npm version of Salesforce CLI installed in the path.
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.
Summary
I have the latest version of sfx-cli from downloaded from npm.
I can run all commands successfully in terminal but when I try to use this VSCode extension in the outputs tab I can see it giving me an error
"SFDX CLI not found, install it from ..."
Steps To Reproduce:
Expected result
Default Scratch org should be opened
Actual result
On the bottom left in the toolbar I can see the name of default scratch org but when the command is run or when I click on it, nothing happens and output shows "SFDX CLI not found, install it from ..."
Additional information
I uninstalled the npm version of the cli and downloaded it from the standard mac installer and commands started working fine in VSCode which confirms this bug with npm versions of sfdx-cli.
VS Code Version: 1.25
SFDX CLI Version: 6.28.0
OS and version: MacOS Sierra 10.12.6
The text was updated successfully, but these errors were encountered: