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

Error: Request initialize failed with message: Cannot read properties of undefined (reading 'location') #5099

Closed
SalesforceAlexS opened this issue Sep 18, 2023 · 2 comments

Comments

@SalesforceAlexS
Copy link

Summary

When loading the LWC extension, I got this error.

[error] Error: Request initialize failed with message: Cannot read properties of undefined (reading 'location')
    at be (c:\Users\***\.vscode\extensions\salesforce.salesforcedx-vscode-lwc-58.14.2\dist\index.js:23:227)
    at Te (c:\Users\***\.vscode\extensions\salesforce.salesforcedx-vscode-lwc-58.14.2\dist\index.js:22:12217)
    at Immediate.<anonymous> (c:\Users\***\.vscode\extensions\salesforce.salesforcedx-vscode-lwc-58.14.2\dist\index.js:22:12068)
    at processImmediate (node:internal/timers:476:21)

Steps To Reproduce:

Start VS code with salesforcedx-vscode-lwc in a salesforce project

Expected result

Actual result

The VS code will show a error on the right bottom when start.

Additional information

Salesforce Extension Version in VS Code:

SFDX CLI Version:
@salesforce/cli/2.7.11 win32-x64 node-v18.15.0

OS and version:

Windows 11 Enterprise 21H2

@SalesforceAlexS
Copy link
Author

Duplicate of the issue #5069

@daphne-sfdc
Copy link
Contributor

Hi @SalesforceAlexS, Since this is a duplicate of #5069, I'll close this issue and continue tracking the problem there. Thanks!

@daphne-sfdc daphne-sfdc closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants