-
-
Notifications
You must be signed in to change notification settings - Fork 448
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.19.0 fails to load from custom prettierPath #3059
Comments
A workaround has been shared at #3100 (comment). |
I believe this issue is a regression caused by f6ff18b, which was an attempt to fix #3045. I added a bit of logging to the module resolution to show what's happening:
Basically, |
This issue has been labeled as stale due to inactivity. Reply to keep this issue open. |
This issue is still exist in latest version of VS Code and this extension. |
This issue has been labeled as stale due to inactivity. Reply to keep this issue open. |
This issue still exist in the latest version, any temp solution for this? |
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
#3041 is recurring because of f6ff18b
Quoting #3041 below:
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: