Closed xerxiastudios closed 8 months ago
For others who stumble here, the solution so far is to do yarn remove prettier-plugin-tailwindcss
, or to address this here: https://github.com/tailwindlabs/prettier-plugin-tailwindcss/issues/207#issuecomment-1698071122
Open to a PR fixing it.
@xerxiastudios I tried running npx create-solito-app@latest my-solito-app -t with-tailwind
on my PC, and it turns out that the versions of prettier
and prettier-plugin-tailwindcss
are incompatible.
This problem can be resolved in one of two ways:
prettier-plugin-tailwindcss
as is and upgrade the version of prettier
to ^3
.prettier
as is and downgrade the version of prettier-plugin-tailwindcss
to <0.5
.Could you please submit a PR?
Related: #145
Yes, I will give it a try.
Do you have a preferred version of Prettier?
Is there an existing issue for this?
Do you want this issue prioritized?
Current Behavior
npx create-solito-app@latest my-solito-app -t with-tailwind
For this repo, prettier is not working.
"ERROR" - 05:13:32] Error resolving prettier configuration for /packages/app/features/user/detail-screen.tsx ["ERROR" - 05:13:32] A dynamic import callback was not specified. TypeError: A dynamic import callback was not specified. at new NodeError (node:internal/errors:399:5) at importModuleDynamicallyCallback (node:internal/process/esm_loader:39:9)
Expected Behavior
No response
Steps To Reproduce
No response
Versions
Screenshots
No response
Reproduction
No response