cli icon indicating copy to clipboard operation
cli copied to clipboard

Unable to authorize an org (ERROR running auth:web:login: spawn EPERM)

Open coolirisme opened this issue 3 years ago • 6 comments

Summary

Can't authorize an Org

Steps To Reproduce:

  1. Open vscode and create a new project
  2. Select SFDX: Authorize An Org from command pallete

Expected result

Browser window should open

Actual result

18:15:39.266 sfdx force:auth:web:login --setalias devrow --instanceurl https://test.salesforce.com --setdefaultusername ERROR running auth:web:login: spawn EPERM

System Information

{ "cliVersion": "sfdx-cli/7.153.1", "architecture": "win32-x64", "nodeVersion": "node-v16.15.0", "pluginVersions": [ "@oclif/plugin-autocomplete 0.3.0 (core)", "@oclif/plugin-commands 1.3.0 (core)", "@oclif/plugin-help 3.3.1 (core)", "@oclif/plugin-not-found 1.2.6 (core)", "@oclif/plugin-plugins 1.10.11 (core)", "@oclif/plugin-update 1.5.0 (core)", "@oclif/plugin-warn-if-update-available 1.7.3 (core)", "@oclif/plugin-which 1.0.4 (core)", "@salesforce/sfdx-diff 0.0.6", "@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)", "alias 2.0.1 (core)", "apex 0.13.0 (core)", "auth 2.0.3 (core)", "community 1.1.5 (core)", "config 1.4.7 (core)", "custom-metadata 1.1.0 (core)", "data 2.0.2 (core)", "generator 2.0.1 (core)", "info 2.0.1 (core)", "limits 2.0.1 (core)", "org 1.13.2 (core)", "salesforce-alm 54.4.0 (core)", "schema 2.1.1 (core)", "sfdx-cli 7.153.1 (core)", "signups 1.1.2 (core)", "source 1.10.2 (core)", "telemetry 2.0.0 (core)", "templates 54.8.0 (core)", "trust 1.1.0 (core)", "user 2.0.2 (core)" ], "osVersion": "Windows_NT 10.0.19044" }

coolirisme avatar Jun 07 '22 12:06 coolirisme

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

github-actions[bot] avatar Jun 07 '22 12:06 github-actions[bot]

Hi @coolirisme 👋

what happens if you run the sfdx force:auth:web:login --setalias devrow --instanceurl https://test.salesforce.com/ --setdefaultusername command directly from the terminal? Do you get the same error?

WillieRuemmele avatar Jun 07 '22 14:06 WillieRuemmele

Hi @WillieRuemmele Getting the same error from command prompt and powershell window as well.

coolirisme avatar Jun 09 '22 14:06 coolirisme

@WillieRuemmele Here is the output from CLI after using the --dev-debug parameter. https://gist.github.com/coolirisme/937fc20328101c5f32c1e6abffbe01a5

coolirisme avatar Jun 09 '22 14:06 coolirisme

Hi @coolirisme

it seems like it's another report of this bug in the open library we use

WillieRuemmele avatar Jun 09 '22 15:06 WillieRuemmele

@WillieRuemmele I have powershell installed on my system so not sure whether that's the cause.

coolirisme avatar Jun 10 '22 05:06 coolirisme

This issue has not received a response in 60 days. It will auto-close in 7 days unless a response is posted.

github-actions[bot] avatar Sep 21 '22 19:09 github-actions[bot]