Reverted because: Error applying template at /home/fernando/git/test/redwoodblog/node_modules/@redwoodjs/cli/dist/co
mmands/generate/page/templates/page.tsx.template for home: require() of ES Module
/home/fernando/git/test/redwoodblog/node_modules/prettier-plugin-tailwindcss/dist/index.mjs not supported.
Instead change the require of
/home/fernando/git/test/redwoodblog/node_modules/prettier-plugin-tailwindcss/dist/index.mjs to a dynamic import()
which is available in all CommonJS modules.
◼ Updating routes file...
◼ Generating types...
◼ One more thing...
Error applying template at /home/fernando/git/test/redwoodblog/node_modules/@redwoodjs/cli/dist/commands/generate/page/templates/page.tsx.template for home: require() of ES Module /home/fernando/git/test/redwoodblog/node_modules/prettier-plugin-tailwindcss/dist/index.mjs not supported.
Instead change the require of /home/fernando/git/test/redwoodblog/node_modules/prettier-plugin-tailwindcss/dist/index.mjs to a dynamic import() which is available in all CommonJS modules.
Workaround
Downgrade the prettier-plugin-tailwindcss from "^0.5.2" to "0.4.1" in the root package.json file.
What's not working?
A working Redwood environment is broken after setting up Tailwind.
How do we reproduce the bug?
Failure error
Workaround
Downgrade the
prettier-plugin-tailwindcss
from "^0.5.2" to "0.4.1" in the rootpackage.json
file.What's your environment? (If it applies)
Are you interested in working on this?