I forgot to mention the error: after deploying, it looks like the CSS wasn't built.
Jul 12, 2023
5
Level 1
"Vite not found" on Forge
Hi, (beginner question). I'm struggling with getting NPM, Vite etc. to work well. Locally the site works well (tailwind). I am deploying via Forge. I get this deploy error now:
build vite build sh: 1: vite: not found
- I have added npm run build to my deploy script
- In my gitignore I did !/public/build
I'm a bit stumped and find it hard to wrap my head around how to fix this. Any pointers?
Please or to participate in this conversation.