-
Notifications
You must be signed in to change notification settings - Fork 407
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
Trying to deploy and getting "ended with error spawn C:\WINDOWS\system32\cmd.exe ENOENT" #737
Comments
I am having this same issue on Windows 10 |
Can you provide more information on how HOW you are deploying? Are you right-clicking a folder, is it deploying to a scatch org or sandbox? Are you using a package.xml file? Exact repro steps will be helpful. Thanks! |
Moving comment from other issue: I am getting same issue as skygiven and taalgaard and ericrsmith35. When I right click an Apex class , when I select "SFDX: Deploy Source to Org", I get: C:\WINDOWS\system32\cmd.exe ENOENT however if I select "SFDX: Retrieve Source from Org", it completes successfully If I copy the sfdx force:source:deploy --sourcepath command from the output into the terminal, it completes successfully. In other words I am able to successfully push the code to my sandbox from VS Code from the CLI, however when running the command directly from VS Code using the "SFDX: Deploy Source to Org", it fails and says that the path to my cmd.exe does not exist. |
Exact same scenario and test results as ntotten. Wednesday it worked fine. Now I cannot right click and deploy the file. I can retrieve files by right clicking. I did notice that there was an extension upgrade yesterday. Wonder if that had anything to do with it? I also did a new install on Windows 8 computer to see if it was just an issue with my Windows 10 system and am receiving the same error when trying to deploy a file. For those who are also experiencing the issue was it working for you before yesterdays update? |
I am experiencing the same issue, and I am pretty sure that the deploy source to org was working yesterday. |
My first attempts to deploy from VS Code were made yesterday 8 PM EST and I was getting this same error from the start. |
Hi, sorry for the problems you're experiencing. We're currently working on a fix and will release it as soon as possible. We'll keep this thread up to date. |
Same issue on Windows 7. I wasted my time trying to debug. Is there someplace that lists issues so I don't spend my time thinking it was just my machine. Guess i'll have to check here |
@protivakid This is the place that lists issues. We will have the fix released soon. Apologies for the problems. |
We have a fix for this now, it's currently going through our test/release pipeline and should be available soon in the marketplace. |
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. |
Thanks @lcampos ... both the deploy and retrieve commands are working from VS Code for me now |
getting same error on authorizing the org. Please help |
If you still got the same error, you can Goto > Control Panel\System and Security\System\Advance system setting\Enviroment variable and set system variables path C:\Windows\System32\ variable and restart your System. It will fix this error, and you will be able to Authorize an Org. |
Also verify the following |
I'm having the same problem. Just downloaded and updated yesterday. Followed your advice on changing the system32 path, but it still won't let update the organization. I'm working off of trailhead. I am unfamiliar with what you mean by
Also, I don't see the OAuth Local Port anywhere in the workspace.
Please send help. |
@generalmad This issue should be fixed now. Can you please check with the latest version of the extension. |
Trying to deploy and getting "ended with error spawn C:\WINDOWS\system32\cmd.exe ENOENT"
Started occurring yesterday after the new update.
I am on Windows 10
Originally posted by @skygiven in #734 (comment)
The text was updated successfully, but these errors were encountered: