vite build is not working on my ci
I'm trying to build my React + TS + Vite page on Cloudflare Pages. But Error occured on my build.
main.tsx
file can't resolve my relative path file.
How to I resolve error?2 Replies
@pedogunu have you seen this page?
https://developers.cloudflare.com/pages/framework-guides/deploy-a-vite3-project/
Deploy a Vite 3 site · Cloudflare Pages docs
Vite is a next-generation build tool for front-end developers. With the release of Vite 3, developers can make use of new command line (CLI) …
Especially this part
Select Environment variables (advanced) > + Add variable > configure a NODE_VERSION variable with a value of any version of Node greater than 14.18 – this example uses 16I think you're right. But I remember that was my issue for the first ever Pages deployment. Not sure ebout exact error message, though