-
-
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.12.0 not detecting the local project (node_modules) prettier #3002
Comments
Same issue here, thanks for the fix, this is only happening to me on the vscode 1.79.0-insiders build, on 1.78.1 it's working fine. here is my log output:
|
@paul-vd for me it does not break, it just not getting the right prettier version (or not at all). |
I have the same problem with vscode 1.79.0-insider. The Prettier extension can be be loaded.
|
I just experienced a very similar issue. I use VS Code on WSL. The VS Code 1.79.0 update just rolled out on my system, and with it, I started to run into the The workaround in the original report got me going again... |
Duplicate of #3020 |
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
Once I updated to 9.12.0 it seems that the plugin does not detect the project node_modules prettier version.
I managed to fix it when you set:
It works again, that's why my guess is that something is wrong with the local prettier detection.
Another hint, going back to 9.10.4 makes it work again, so something is wrong in the last versions.
A last one, running the prettier command line still works well.
Github Repository to Reproduce Issue
I think it's pretty obvious, no need for example repo
Steps To Reproduce:
Expected result
It detects the local project
Actual result
All my files get unprettied :) when you run prettier using the plugin
Additional information
Feel free to attach a screenshot.
VS Code Version:
Version: 1.78.0 (April)
Prettier Extension Version:
9.12.0
OS and version:
MacOS Ventura
Prettier Log Output
The text was updated successfully, but these errors were encountered: