You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using latest remix + vite 5.2 using new Response() causes
x Build failed in 1.78s
[commonjs--resolver] Server-only module referenced by client
'./entry.server.js' imported by 'node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_react@18._qsr4k2ekl5hqgeex62a7kcs2b4/node_modules/@vercel/remix/dist/edge/index.js'
See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code
during build, this might be specific to @vercel/remix though
Reproduction
using latest remix + vite 5.2 using
new Response()
causesduring build, this might be specific to
@vercel/remix
thoughSystem Info
Used Package Manager
pnpm
Expected Behavior
I'd expect to be able to use
new Response()
anywhereActual Behavior
can only use
new Response()
on the server.The text was updated successfully, but these errors were encountered: