Replies: 6 comments 7 replies
|
|
|
Hey! The error means that you are using If this doesn't work for you, try to share a minimal reproduction repo we can clone so we can take a look. |
|
"dependencies": { const config = { |
|
Related: |
|
I'm getting an issue trying to upgrade to Here's my Next.js declaration in my I've installed:
My import path from "path";
const config = {
plugins: {
"@tailwindcss/postcss": {
// resolve the base path to the root of the monorepo
base: path.resolve(process.cwd(), "../"),
},
},
};
export default config;When I run the Next.js app I end up with this error (real user path omitted): Any insight here would be very helpful, thanks. |

Uh oh!
There was an error while loading. Please reload this page.
Error evaluating Node.js code
Error: It looks like you're trying to use tailwindcss directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install @tailwindcss/postcss and update your PostCSS configuration.
Hi everyone, the only way to fix this is to revert to the previous version of Tailwind. Run this command, and the problem will be solved:
npm i -D tailwindcss@3 postcssAll reactions