The error are as follows:
Compiled with problems:
ERROR in ./node_modules/cipher-base/index.js 3:16-43
Module not found: Error: Canât resolve âstreamâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/cipher-baseâ
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 }
ERROR in ./node_modules/eth-lib/lib/bytes.js 7:193-227
Module not found: Error: Canât resolve âcryptoâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/eth-lib/libâ
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: { âcryptoâ: require.resolve(âcrypto-browserifyâ) }â
- install âcrypto-browserifyâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âcryptoâ: false }
ERROR in ./node_modules/ethereumjs-util/dist.browser/account.js 71:31-48
Module not found: Error: Canât resolve âassertâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/ethereumjs-util/dist.browserâ
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: { âassertâ: require.resolve(âassert/â) }â
- install âassertâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âassertâ: false }
ERROR in ./node_modules/ethereumjs-util/dist.browser/address.js 14:31-48
Module not found: Error: Canât resolve âassertâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/ethereumjs-util/dist.browserâ
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: { âassertâ: require.resolve(âassert/â) }â
- install âassertâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âassertâ: false }
ERROR in ./node_modules/ethereumjs-util/dist.browser/object.js 46:31-48
Module not found: Error: Canât resolve âassertâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/ethereumjs-util/dist.browserâ
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: { âassertâ: require.resolve(âassert/â) }â
- install âassertâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âassertâ: false }
ERROR in ./node_modules/swarm-js/node_modules/eth-lib/lib/bytes.js 9:193-227
Module not found: Error: Canât resolve âcryptoâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/swarm-js/node_modules/eth-lib/libâ
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: { âcryptoâ: require.resolve(âcrypto-browserifyâ) }â
- install âcrypto-browserifyâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âcryptoâ: false }
ERROR in ./node_modules/web3-eth-accounts/lib/index.js 31:74-91
Module not found: Error: Canât resolve âcryptoâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/web3-eth-accounts/libâ
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: { âcryptoâ: require.resolve(âcrypto-browserifyâ) }â
- install âcrypto-browserifyâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âcryptoâ: false }
ERROR in ./node_modules/web3-providers-http/lib/index.js 30:11-26
Module not found: Error: Canât resolve âhttpâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/web3-providers-http/libâ
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: { âhttpâ: require.resolve(âstream-httpâ) }â
- install âstream-httpâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âhttpâ: false }
ERROR in ./node_modules/web3-providers-http/lib/index.js 32:12-28
Module not found: Error: Canât resolve âhttpsâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/web3-providers-http/libâ
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: { âhttpsâ: require.resolve(âhttps-browserifyâ) }â
- install âhttps-browserifyâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âhttpsâ: false }
ERROR in ./node_modules/web3-providers-ws/lib/helpers.js 11:12-26
Module not found: Error: Canât resolve âurlâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/web3-providers-ws/libâ
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: { âurlâ: require.resolve(âurl/â) }â
- install âurlâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âurlâ: false }
ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js 37:11-26
Module not found: Error: Canât resolve âhttpâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/xhr2-cookies/distâ
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: { âhttpâ: require.resolve(âstream-httpâ) }â
- install âstream-httpâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âhttpâ: false }
ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js 39:12-28
Module not found: Error: Canât resolve âhttpsâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/xhr2-cookies/distâ
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: { âhttpsâ: require.resolve(âhttps-browserifyâ) }â
- install âhttps-browserifyâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âhttpsâ: false }
ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js 41:9-22
Module not found: Error: Canât resolve âosâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/xhr2-cookies/distâ
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: { âosâ: require.resolve(âos-browserify/browserâ) }â
- install âos-browserifyâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âosâ: false }
ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js 43:10-24
Module not found: Error: Canât resolve âurlâ in â/Users/yiulapsang/Desktop/workspace/blockchain/try-moralis/node_modules/xhr2-cookies/distâ
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: { âurlâ: require.resolve(âurl/â) }â
- install âurlâ
If you donât want to include a polyfill, you can use an empty module like this:
resolve.fallback: { âurlâ: false }