-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot build with vite #1002
Comments
I'm getting the exact same error with vanilla-ts + vite |
same |
vite does not import/export node defaults/polyfills of modules. please check the vite build config. We will also investigate further. |
same error |
Please refer to #1053 (comment) and make adjustments as per the module bundler documentation |
Have you solved the problem? |
Vite support Minio client now ? 0.0 |
I use minio.js in my vue+vite project,but when i tried to create clinet ,occured error:
_stream_readable.js:48
Uncaught ReferenceError: global is not defined
at node_modules/readable-stream/lib/_stream_readable.js (_stream_readable.js:48:21)
at __require (chunk-OYVF2PGL.js?v=c8651b20:10:50)
at node_modules/readable-stream/readable-browser.js (readable-browser.js:1:28)
at __require (chunk-OYVF2PGL.js?v=c8651b20:10:50)
at node_modules/block-stream2/index.js (index.js:1:23)
at __require (chunk-OYVF2PGL.js?v=c8651b20:10:50)
at node_modules/minio/dist/main/minio.js (minio.js:21:43)
at __require (chunk-OYVF2PGL.js?v=c8651b20:10:50)
at dep:minio:1:16
and i find some useful infomation :
readable-stream
MatrixAI/js-virtualfs#4;its maybe a rollup issue
can you help me to aviod this problem ?(not very smooth english, sry ^-^)
The text was updated successfully, but these errors were encountered: