vite build is not working on my ci
# pages-help
u
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?
s
That looks like an error with your site, not pages 🤔
s
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 16
s
This thread is over 2 months old, and this error seems to have nothing to do with a node version 🙂
s
I think you're right. But I remember that was my issue for the first ever Pages deployment. Not sure ebout exact error message, though
s
It can be a common issue, yeah. But I don't think it's anything to do with it in that case 😅 Either way, we didn't get any reply so there's no way to tell