wrangler github action cannot find @tanstack/react-start/server-entry
official cloudflare example uses @tanstack/react-start/server-entry. It builds fine when I deploy it to cloudflare using wrangler CLI.
Always fails when I try to do the same using the wrangler github action. Anybody knows why?
4 Replies
extended-salmon•2mo ago
had this issue earlier but certainly not for the github action, i ended up creating a custom entry point and pointing wrangler and plugins to it. might work?
vite
wrangler
src/server.ts
weird it works cause the file also imports
@tanstack/react-start/server-entry but i didn't want to spend much time debuggingadverse-sapphire•2mo ago
can you please create an issue here: https://github.com/cloudflare/workers-sdk/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen
GitHub
cloudflare/workers-sdk
⛅️ Home to Wrangler, the CLI for Cloudflare Workers® - cloudflare/workers-sdk
adverse-sapphire•2mo ago
this should work, so something is off
passive-yellowOP•3w ago
@Manuel Schiller yes I can, absolutely, thanks for the pointer