Using Tailwind with Nextjs: Module parse failed: Unexpected character '@' (1:0)
Unanswered
Felix posted this in #help-forum
FelixOP
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.
./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
Cape horse mackerel
what do you mean by "If I now move the order"?
Southern yellowjacket
@Felix did you ever find a solution for this? I ran into this too and I can't seem to find anything directly related to it.