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 Deploy This Source to Org error, CLI not installed #734

Closed
Lafexlos opened this issue Nov 9, 2018 · 5 comments
Closed

SFDX Deploy This Source to Org error, CLI not installed #734

Lafexlos opened this issue Nov 9, 2018 · 5 comments
Labels

Comments

@Lafexlos
Copy link

Lafexlos commented Nov 9, 2018

Summary

When using SFDX Deploy This Source to Org command for deploying my changes to a sandbox I am getting an error saying

The Salesforce CLI is not installed. Install it from https://developer.salesforce.com/tools/sfdxcli

Steps To Reproduce:

  1. Create SFDX project with manifest
  2. Authorize an org and retrieve using package.xml
  3. Make some changes and use SFDX: Deploy Source to Org (sfdx force:source:deploy)

Expected result

Changes pushed to org successfully.

Actual result

Starting SFDX: Deploy Source to Org

sfdx force:source:deploy --json --loglevel fatal --sourcepath c:\Projects\MyPathToFile.cls
sfdx force:source:deploy --json --loglevel fatal --sourcepath c:\Projects\MyPathToFile.cls ended with error spawn sfdx ENOENT
The Salesforce CLI is not installed. Install it from https://developer.salesforce.com/tools/sfdxcli

Additional information

Starting to happen after the extension update.

VS Code Version:

1.28.2
7f3ce96ff4729c91352ae6def877e59c561f4850
x64

SFDX CLI Version:
sfdx-cli/6.38.0-0d66175ccf (windows-x64) node-v8.9.4

Salesforce CLI Integration Extension Version:
44.6.0

OS and version:
Windows 10

image

@skygiven
Copy link

skygiven commented Nov 9, 2018

Hello. I have the similar issue when try to deploy:
ended with error spawn C:\WINDOWS\system32\cmd.exe ENOENT

@ericrsmith35
Copy link

I have the same error when trying to deploy

@arodriguez-cvent

This comment has been minimized.

@ntotten
Copy link
Contributor

ntotten commented Nov 9, 2018

Can you tell me if this error goes away if you restart and open VS Code. If that doesn't work can you open the terminal and run sfdx update, wait a few minutes for it to finish, and then open VS Code and try again.

@lcampos
Copy link
Contributor

lcampos commented Nov 9, 2018

Posting here as well to keep the threads updated. The issue was the same as the one reported in #737.
The fix is out now in the marketplace as part of version 44.6.1.

Again, apologies to everyone impacted and thanks for your patience.

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

No branches or pull requests

6 participants