Skip to content
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

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. #7186

Open
nyctonio opened this issue May 1, 2024 · 1 comment

Comments

@nyctonio
Copy link

nyctonio commented May 1, 2024

I have created a plugin but on its installation i am getting the error

ERROR in ./node_modules/@ritesh/medusa-brands/dist/admin/_virtual_entry.js 9:0-32
Module not found: Error: Can't resolve 'stream' in '/Users/nio/official/medusa/medusa-backend/node_modules/@ritesh/medusa-brands/dist/admin'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

@radoslaw-sz
Copy link

hi @nyctonio - from what I can see the error is located in "@ritesh/medusa-brands" which looks like custom implementation, not related to Medusa core. I do not think it is related to Medusa itself as the error indicates problem with 'stream' module located in your custom implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants