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
Unable to authorize an org and unable to commit project changes to the org as a result.
Expected result
In VS Code, use CTRL+SHIFT+P > SFDX: Authorize an Org > Sandbox > orgName > (in browser) complete OAuth > authorization > VS Code linked to org
Actual result
The authorization process is not completing the callback to VS code.
The output in VS code displays: 10:28:29.43 sf org:login:web --alias wizard --instance-url https://test.salesforce.com --set-default (node:12604) [DEP0040] DeprecationWarning: The punycodemodule is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ... to show where the warning was created) Error (1): Unexpected token '
Additional information
The punycode deprecation warning is also new.
I tried uninstalling node & sfdx CLI. I deleted any node/npm folders from %appdata%\local. Uninstalled & reinstalled the salesforce extension pack (expanded). Note - the Agentforce extension is also producing an unknown error.
I resolved a peer dependency with eslint by updating the project's package.json file for '@salesforce/sfdx-lwc-jest(v5.1.0) andeslint` (8.57.1) then running npm install.
Summary
Unable to authorize an org and unable to commit project changes to the org as a result.
Expected result
In VS Code, use CTRL+SHIFT+P > SFDX: Authorize an Org > Sandbox > orgName > (in browser) complete OAuth > authorization > VS Code linked to org
Actual result
The authorization process is not completing the callback to VS code.
The output in VS code displays:
10:28:29.43 sf org:login:web --alias wizard --instance-url https://test.salesforce.com --set-default (node:12604) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead. (Use
node --trace-deprecation ...to show where the warning was created) Error (1): Unexpected token '
Additional information
The punycode deprecation warning is also new.
I tried uninstalling node & sfdx CLI. I deleted any node/npm folders from %appdata%\local. Uninstalled & reinstalled the salesforce extension pack (expanded). Note - the Agentforce extension is also producing an unknown error.
I resolved a peer dependency with eslint by updating the project's package.json file for '@salesforce/sfdx-lwc-jest
(v5.1.0) and
eslint` (8.57.1) then running npm install.System Information
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
✅ pass - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - [@salesforce/plugin-auth] CLI using stable v1 crypto
The text was updated successfully, but these errors were encountered: