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
In SvelteKit, the event.request.body is a web-interoperable stream. However, when this package is imported in a SvelteKit project running in Bun, it tries to load the NodeJS stuff.
I recommend moving the NodeJS-related legacy stuff into a file-type/node package, as the majority is moving towards modern standards with runtimes like Bun and Deno which support WinterCG stuff, and SSR frameworks like SvelteKit also support it.
The text was updated successfully, but these errors were encountered:
In SvelteKit, the
event.request.body
is a web-interoperable stream. However, when this package is imported in a SvelteKit project running in Bun, it tries to load the NodeJS stuff.I recommend moving the NodeJS-related legacy stuff into a
file-type/node
package, as the majority is moving towards modern standards with runtimes like Bun and Deno which support WinterCG stuff, and SSR frameworks like SvelteKit also support it.The text was updated successfully, but these errors were encountered: