Hello there imma get this Error after installing Moralis API to test it:
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.
If you want to include a polyfill, you need to:
** - add a fallback âresolve.fallback: { âstreamâ: require.resolve(âstream-browserifyâ) }â**
** - install âstream-browserifyâ**
If you donât want to include a polyfill, you can use an empty module like this:
** resolve.fallback: { âstreamâ: false }**
I tried alot of things. In the node_modules i changed var | Transform = require(âstreamâ).Transform | to | var Transform = require(âreadable-streamâ).Transform | but than i get this Error in Browser and my page is gone:
Uncaught ReferenceError: process is not defined
at 50074 (util.js:109:1)
at webpack_require (bootstrap:19:1)
at 56094 (assertion_error.js:35:16)
at webpack_require (bootstrap:19:1)
at 40431 (assert.js:36:22)
at webpack_require (bootstrap:19:1)
at 77740 (account.js:23:32)
at webpack_require (bootstrap:19:1)
at 19412 (index.js:25:14)
at webpack_require (bootstrap:19:1)
Also i added the polyfill in both ways like written in the Error. But it doenst work. Any Solutions?