Cloudflare pages with remix js vite could not determine executable to run
Hi,
there is a bug with cloudflare pages and remix js vite
when you set environment variables inside cloudflare dashboard you get following output
there was also an issue with command but it was solved with installing as dev depn.
tried this
and
when environment variables are removed it works fine
1 Reply
Interesting.. do you have
@remix-run/dev
as a depend/dev depend?
To sanity test I just tried the guide here: https://developers.cloudflare.com/pages/framework-guides/deploy-a-remix-site/, and the default build config (which runs npm run build
, which runs "build": "remix vite:build
), and it works fine