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
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
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: