-
-
Notifications
You must be signed in to change notification settings - Fork 461
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
9.16 fails to load from custom prettierPath #3041
Comments
I suspect I'm not the only one coming across this bug, having just added |
Rolling back to |
@spencermefford How can I roll back VS Code extension version? |
Same is happenning to me but I had to downgrade until 9.10.4 to make it work as before. See my comments here: #3020 |
This is still happening for me, downgrading worked. Anybody know why this got closed? |
I'm not sure why they kind of ignore it... |
The latest working version for me its the 9.14.0 as @spencermefford said. Anything above spits the same error. |
Same here, just 9.14.0 is working.. (macOS 13.3.1) |
Thanks @vsiao , I can confirm that on my MacOS 12.4, versions |
In arch linux, 9.14.0 was spitting out another error, 9.15.0 works. |
9.19.0 not works.
|
For Windows users |
Still not solved. |
Hi! Still not solved, indeed (macOS) |
I solved it using this solution and it's work with latest extension version |
I'm in Windows 10. In my settings.json file I have: "prettier.prettierPath": "C:\Program Files\nodejs\node_modules\prettier", Do you mean to change that one? I tried with the path suggested in the StackOverflow question but didn't worked. Could you please tell me where to change this path? Manty thanks, |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
In 9.16, when configured with a path to the prettier module (eg.
node_modules/prettier
), the extension fails to load.Steps To Reproduce:
Set
prettier.prettierPath
config tonode_modules/prettier
Expected result
Extension loads
node_modules/prettier/package.json
successfully.Actual result
Extension fails to load. The extension appears to look for
node_modules/packages.json
, thenpackage.json
, etc.Additional information
VS Code Version: 1.79.2
Prettier Extension Version: 9.16
OS and version: Mac OS Ventura 13.4
Prettier Log Output
Below trace is from #3038 (comment). cc @mreduar
The text was updated successfully, but these errors were encountered: