-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG]Unexpected end of JSON input #102
Comments
@LilianaRTSf , which command are you using, and what's the code you're running it against? |
@LilianaRTSf , also, do you have a valid |
Hello, I am using the sfdx menu, I select a class and click "SFDX: Scan selected files or folders with code analyzer" I also tried the "SFDX:Scan current file with code analyzer", I have a sfdx-project.json, I can connect to my org and retrieve-deploy |
@LilianaRTSf , can you post the file that you're trying to scan? We're struggling to reproduce this on our end. Also, can you please indicate the following:
|
I am using v4.2.0, MacOs Sonoma 14.5 |
@LilianaRTSf , could you also please post the file you're trying to scan? We can't reproduce it locally, so it's possible it's something to do with your file. |
@LilianaRTSf With VS Code open, can you please click on Help > "Toggle Developer Tools" which should reveal what looks like a chrome developer console window. Then please do your repro steps and see what error messages appear in the console. Then paste those full error messages here please. Additionally, have you tried to reproduce the issue with our CLI, specifically the |
@LilianaRTSf , stupid question, but did you restart VSCode after you installed all of these things? |
@LilianaRTSf We are unable to reproduce on our end. Is this still an issue with you after installing the latest CLI and VS Code Extension? |
Hi, I am getting a JSON error every time i run the code analyzer in VS code: " Unexpected end of JSON input", in all my salesforce projects
The text was updated successfully, but these errors were encountered: