Module parse failed

haro6477
HOBBYOP

a year ago

I am trying to deploy a Next.js application, but there is an error loading the styles.

Build Error

Failed to compile

Next.js (14.2.7) out of date (learn more)

./src/app/globals.css

Module parse failed: Unexpected character '@' (1:0)
> @tailwind base;
| @tailwind components;
| @tailwind utilities;

This error occurred during the build process and can only be dismissed by fixing the error.

The error is not related to Tailwind, as the same issue occurs with a Next.js application without Tailwind.

0 Replies