forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
947 stars 404 forks source link

Apex - Prettier error spawnSync EINVAL when formatting Apex classes #5732

Closed naveensimplify closed 2 weeks ago

naveensimplify commented 3 weeks ago

Type: Bug

Open Apex Class Try to use command format document

Extension version: 61.10.0 VS Code version: Code 1.92.1 (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z) OS version: Windows_NT x64 10.0.19045 Modes:

naveensimplify commented 3 weeks ago

More Info https://github.com/prettier/prettier-vscode/issues/3495

svc-idee-bot commented 3 weeks ago

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.

svc-idee-bot commented 3 weeks ago

Hello @naveensimplify :wave: It looks like you didn't provide all the required basic info in your issue.

If you haven't already, please provide the following info: Salesforce Extension Version in VS Code: Salesforce CLI Version: OS and version: VS Code version: Most recent version of the extensions where this was working:

Here's an example of a set of required info that will pass the validation: Salesforce Extension Version in VS Code: 60.13.0 Salesforce CLI Version: @salesforce/cli/2.42.6 darwin-arm64 node-v18.18.2 OS and version: MacOS Sonoma 14.5 VS Code version: 1.89.1 Most recent version of the extensions where this was working: 60.11.0

A few more things to check:

Thank you!

naveensimplify commented 3 weeks ago

Below you can find the information requested.

Salesforce Extension Version in VS Code:v61.10.0 Salesforce CLI Version:@salesforce/cli/2.55.6 OS and version:Windows_NT x64 10.0.19045 VS Code version:61.10.0 Most recent version of the extensions where this was working: Not Sure Java version: "17.0.6" 2023-01-17 LTS

CristiCanizales commented 3 weeks ago

hi @naveensimplify, please edit your issue and provide all the details we ask in the issue template (repro steps, actual behavior, expected behavior, versions info, etc). We need them to have some context on the issue to be able to triage it.

github-actions[bot] commented 2 weeks ago

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