Next.js Discord

Discord Forum

Using Tailwind with Nextjs: Module parse failed: Unexpected character '@' (1:0)

Unanswered
Felix posted this in #help-forum
Open in Discord
Hello, Created a Next app with the npx create-next-app@latest command. I have also installed tailwind and typescript using this command. When I start the project now, everything works perfectly. If I now move the order and start the app, I get the following error:

./src/app/globals.css
Module parse failed: Unexpected character '@' (1:0)
&913086567042674719 base;
&913086567042674719 components;
&913086567042674719 utilities;

I have already deleted the .next and node_modules folders and reinstalled them. I also tried to install tailwind manually but unfortunately that didn't help. Any help would be appreciated.

3 Replies