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
Not a bug, but an upgrade issue:
Node 21 is new and broke "something"(tm) that minio needs...
Using node 21 in an svelte app with vite
the import
import*asMiniofrom'minio';
fails with node 21 but works in node 20.8
Error when evaluating SSR module /src/hooks.server.js: failed to import "minio"
|- TypeError: Cannot read properties of undefined (reading 'includes')
at Object.<anonymous> (/.../node_modules/.pnpm/[email protected]/node_modules/browser-or-node/lib/index.js:19:133)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1201:32)
at Module._load (node:internal/modules/cjs/loader:1017:12)
and a lot more internal modules more.
when staring using pnpm run dev
The text was updated successfully, but these errors were encountered:
Not a bug, but an upgrade issue:
Node 21 is new and broke "something"(tm) that minio needs...
Using node 21 in an svelte app with vite
the import
fails with node 21 but works in node 20.8
and a lot more internal modules more.
when staring using
pnpm run dev
The text was updated successfully, but these errors were encountered: