For Remix.js what is the wrangler deploy entry point?
After setting up Remix.js app using
npm create cloudflare@latest -- my-remix-app --framework=remix
and wrangler deploy
I get this error. I assumed Remix's build/server/index.js
would be it. Also tried functions/[[path]].ts
to no luck. Thanks!1 Reply
Solved. For posterity, the issue was running
npx wrangler ...
instead of its equivalent via the npm context of the application. Given the wrangler.toml my instinct was that npx wrangler ...
should consume and effectively operate identically to if it was run via npm run...
but *clearly not *. Maybe a DX or docs improvement to be had here