Replies: 5 comments 3 replies
-
|
Hi @Tekoh! It’s hard to help because it’s not clear what version of Prettier you are using, what is you If you use Prettier v3, you ca try removing |
Beta Was this translation helpful? Give feedback.
-
|
This happens to me when I switch from |
Beta Was this translation helpful? Give feedback.
-
|
The problem seems to be that in the VSCode extension, module objects can't be passed through the RPC boundary between the main extension and the worker process where config is actually read. For the VSCode extension to work, the Prettier config must be effectively plain old data (specifically, the HTML structured clone algorithm) due to restrictions in I ran into this while trying to get a plugin to load under PNP, and it seems like there is no way to make the VSCode extension work. Doing the import in the config doesn't work because of this issue. Meanwhile, only resolving the import in the config (via |
Beta Was this translation helpful? Give feedback.
-
|
I ran into this as well and "fixed" it by switching to a JSON configuration. |
Beta Was this translation helpful? Give feedback.
-
|
I had this issue in VSCode. I eventually solved it. Here are some learnings.
It did help.
Hopefully this helps others. It can be so frustrating to get no answers and run out of things to try. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm properly baffled. it used to work a few weeks ago
Beta Was this translation helpful? Give feedback.
All reactions