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

cuongvnz
PRO

10 months ago

I have been trying to deploy create-t3-turbo (nextjs with turborepo) project on railway platform but getting this error when trying to access the web app:

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

Can anyone please help me if you have faced this issue before.

For configurations:
- Node 20

- Build cmd:

turbo run build

- Deploy cmd:

turbo dev -F @repo/nextjs...

0 Replies

Module parse failed: Unexpected character '@' (1:0) > @tailwind base; - Railway Help Station