salesforcedx-vscode
salesforcedx-vscode copied to clipboard
LWC and Aura apps Crash on load, SFDX can't deploy
I get a "connection is closed." error from the aura app. The following is the output of its error message. The LWC app crashes enough that VS Code throws an error and refuses to restart it. I have tried numerous recent version of all mentioned apps, none fix the issue.
However, the most concerning issue is SFDX can't deploy to the org. Internet is fine and I've tried re-authorizing. Doesn't help. It does not throw an error when it fails, it simply returns a completion/error message: "Deploy Errors 00:16:10.745 ended SFDX: Deploy Source to Org"
Here is the error thrown by the Aura app:
Error: UNKNOWN: unknown error, lstat 'c:/Users/PATH_REPLACED'
at lstatSync (node:fs:1514:3)
at Object.e.lstatSync (node:electron/js2c/asar_bundle:5:3752)
at Object.read (c:\Users....vscode\extensions\salesforce.salesforcedx-vscode-lwc-54.15.0\node_modules@nodelib\fs.stat\out\providers\sync.js:5:31)
at Object.statSync (c:\Users....vscode\extensions\salesforce.salesforcedx-vscode-lwc-54.15.0\node_modules@nodelib\fs.stat\out\index.js:18:17)
at c:\Users....vscode\extensions\salesforce.salesforcedx-vscode-lwc-54.15.0\node_modules@nodelib\fs.scandir\out\providers\sync.js:42:30
at Array.map (
It appears the file mentioned in the PATH_REPLACED portion is a folder for an aura component. It is set to read-only folder permissions. I turned this off, your component turned it back on. I have no idea why.
While the LWC and SFDX issues occurred simultaneously, Im not sure they're connected. You might just have 3 bugs.
@NuAgeDan What are the steps needed to reproduce this issue?
This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.