jordan
Explore posts from serversCDCloudflare Developers
•Created by jordan on 8/7/2024 in #pages-help
Remix and Vite - 2 error(s) and 0 warning(s) when compiling Worker.
I am trying to use pages for the first time and having an issue when trying to deploy. Working locally, everything works as expected but when building and running I get the error:
2 error(s) and 0 warning(s) when compiling Worker.
This is for:
and:
I am using the template provided by Cloudflare, I have added the compatibility flag "nodejs_compat" and this is my dependencies:
I'm not sure how to fix this, as the guidance seems to be setting your compatibility flag, which I have done in wrangler.toml:
compatibility_flags = [ "nodejs_compat" ]
Any help would be appreciated!5 replies