Ethereum Boilerplate Questions

oh I see, its can relate to the gas fees or my nft problem.
I will check it out.

Thank you

yes, I have approved it by using the final code but it’s still have this error

Hey Gents ! Tremendeous work. I face this problem . May be it is so easy , new to coding …Sorry . Does any one have idea ?

run yarn format if still not working, just delete prettier from your project.

1 Like

We need to hire someone to install opensea clone on our server. Contact [email protected]

See also: `TypeError: txStatus.on is not a function` error, ethereum boilerplate

I am getting this error in React when I try to start the Eth boilerplate - not sure how to solve this…

Compiled with warnings.

Failed to parse source map from 'C:\Users\benX\Documents\node_modules\@metamask\detect-provider\src\index.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\benX\Documents\node_modules\@metamask\detect-provider\src\index.ts'

Module not found: Error: Can't resolve 'magic-sdk' in 'C:\Users\benX\Documents\node_modules\moralis\lib\browser\Web3Connector'

Module not found: Error: Can't resolve '@walletconnect/web3-provider' in 'C:\Users\benX\Documents\node_modules\moralis\lib\browser\Web3Connector'

Module not found: Error: Can't resolve '@web3auth/web3auth' in 'C:\Users\benX\Documents\node_modules\moralis\lib\browser\Web3Connector'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

assets by path static/js/*.js 4.54 MiB
  asset static/js/bundle.js 4.54 MiB [emitted] (name: main) 1 related asset
  asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.93 KiB [emitted] 1 related asset
asset index.html 1.67 KiB [emitted]
asset asset-manifest.json 458 bytes [emitted]
cached modules 3.8 MiB (javascript) 31.5 KiB (runtime) [cached] 912 modules

WARNING in ../node_modules/@metamask/detect-provider/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Users\benX\Documents\node_modules\@metamask\detect-provider\src\index.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\benX\Documents\node_modules\@metamask\detect-provider\src\index.ts'
 @ ../node_modules/moralis/lib/browser/MoralisWeb3.js 97:45-81
 @ ../node_modules/moralis/lib/browser/Parse.js 45:42-66
 @ ../node_modules/moralis/index.js 1:0-50
 @ ../node_modules/react-moralis/lib/index.esm.js 3:0-36 5348:11-24
 @ ./src/index.tsx 9:0-48 12:33-48

WARNING in ../node_modules/moralis/lib/browser/Web3Connector/MagicWeb3Connector.js 175:38-58        
Module not found: Error: Can't resolve 'magic-sdk' in 'C:\Users\benX\Documents\node_modules\moralis\lib\browser\Web3Connector'
 @ ../node_modules/moralis/lib/browser/MoralisWeb3.js 99:49-94
 @ ../node_modules/moralis/lib/browser/Parse.js 45:42-66
 @ ../node_modules/moralis/index.js 1:0-50
 @ ../node_modules/react-moralis/lib/index.esm.js 3:0-36 5348:11-24
 @ ./src/index.tsx 9:0-48 12:33-48

WARNING in ../node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 153:54-93Module not found: Error: Can't resolve '@walletconnect/web3-provider' in 'C:\Users\benX\Documents\node_modules\moralis\lib\browser\Web3Connector'
 @ ../node_modules/moralis/lib/browser/MoralisWeb3.js 87:57-110
 @ ../node_modules/moralis/lib/browser/Parse.js 45:42-66
 @ ../node_modules/moralis/index.js 1:0-50
 @ ../node_modules/react-moralis/lib/index.esm.js 3:0-36 5348:11-24
 @ ./src/index.tsx 9:0-48 12:33-48

WARNING in ../node_modules/moralis/lib/browser/Web3Connector/Web3AuthConnector.js 132:40-69
Module not found: Error: Can't resolve '@web3auth/web3auth' in 'C:\Users\benX\Documents\node_modules\moralis\lib\browser\Web3Connector'
 @ ../node_modules/moralis/lib/browser/MoralisWeb3.js 101:25-69
 @ ../node_modules/moralis/lib/browser/Parse.js 45:42-66
 @ ../node_modules/moralis/index.js 1:0-50
 @ ../node_modules/react-moralis/lib/index.esm.js 3:0-36 5348:11-24
 @ ./src/index.tsx 9:0-48 12:33-48

4 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.70.0 compiled with 4 warnings in 2303 ms
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
No issues found.

This boilerplate really needs to be reverted back to using react-scripts v4.0.3.

This last merge somewhat patched the webpack 5 issues but ant design still has major warnings. Additional webpack config is required. This probably should not have been merged until fully tested.

Webpack v5 which is included with react-scripts v5 no longer includes NodeJS polyfills.

Most of the consensus is to stay on react-scripts v4.0.3 if you’re having issues until a solid workaround can be implemented: https://github.com/facebook/create-react-app/issues/11756#issuecomment-1072769477

Nothing against everyone working hard to commit changes to fix things but as a boilerplate it may be frustrating to other users if they clone it and start off with a pile of errors.

Is it easy to swap out truffle for hardhat with this boilerplate?

hey guys, thanks so much for those awesome tutorials, right know i’m just learning web3 from basic html and basic .sol knowledge,and thinking seriously to be expert on academy!
and i’m having this issue now

following the steps exactly as in the tutorial to connect metamask to the dapp but i’m having this issue when i try to test the metamask login, the script call moralis server but nothing happen, my code is exactly as in the tutorial, i just noticed that something was different from tuturial and updated codes on moralis documents and i’ve tried on two ways, but nothing happen when clicking “Login”
(after min 43 https://youtu.be/jdx2H1alijQ)


console.log(‘hello world’);

// connect to Moralis server

const serverUrl = “https://r04wwnv3tpmt.usemoralis.com:2053/server”;
const appId = “7q0uIDZnlZOpqhCi2XIARlZyz2ZFPZojHJgozleY”;
Moralis.start({ serverUrl, appId });

login = async () => {
await Moralis.Web3.authenticate().then(function (user) {
console.log(‘logged in’);
console.log(Moralis.User.current());
})

}

document.querySelector(’#btn-login’).onclick = login;
i just tried adding web3. to this comand as in the tutorial

await Moralis.authenticate().then(function (user)

await Moralis.Web3.authenticate().then(function (user)

i tried many times and checked if the address url and ID is ok

on browser i received ‘Hello World’ console so i think the problem is connecting moralis server
that’s the issues i received after minutes from js console


on tutorials forum topic i received help that i appreciated saying that i could continue with the project tutorial without any issue but i realized that in a lot of steps i need autentication with metamask, so i think is important to solve this, a Web3 project without Metamask login isn’t a Web3 project ;(

any idea? thank you so much! my first query, sorry if this is not the right topic

1 Like

I installed prettier in vscode and it resolved

okay so I had this problem too and that kinda fixed it and it connects and works but if I disconnect my metamask then the page goes blank and now in the console, it says “Uncaught TypeError: Cannot read properties of null (reading ‘decimals’)” so I tried adding the same condition to decimals and no change. I am also seeing this error in the console

“Warning: Can’t perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.”

any help would be appreciated!

Hey all, I’m trying to figure out the easiest way to only list the native bnb and a single chosen token in the assets selector, it seems like a simple change to fetchERC20Balance() in /hooks/useERC20Balance.js
any suggestions?

Hi,

Whenever I try to deploy my dapp to Moralis server I always got the following error:

found 0 vulnerabilities
PS C:\Users\USER\Documents\GO\ethereum-boilerplate> moralis-admin-cli deploy -p C:\myDapp
Destination folder must contain: index.html!

In order to deploy a react-app to moralis server, you need to build the project by running yarn run build or `npm run build. Once its completed, you’ll get a build folder, you can then navigate into the build folder and deploy it to moralis server

WARNING in ./node_modules/@metamask/detect-provider/dist/index.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@metamask/detect-provider/src/index.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@metamask/detect-provider/src/index.ts’**

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 93:45-81

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@metamask/safe-event-emitter/index.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@metamask/safe-event-emitter/index.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@metamask/safe-event-emitter/index.ts’**

@ ./node_modules/eth-json-rpc-filters/subscriptionManager.js 1:25-72

@ ./node_modules/web3-provider-engine/subproviders/subscriptions.js 3:34-85

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 18:33-91

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/browser-utils/dist/esm/browser.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/browser.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/browser.ts’**

@ ./node_modules/@walletconnect/browser-utils/dist/esm/index.js 1:0-26 1:0-26

@ ./node_modules/@walletconnect/qrcode-modal/dist/cjs/index.js 5:19-58

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 2:0-54 27:23-34

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/browser-utils/dist/esm/index.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/index.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/index.ts’**

@ ./node_modules/@walletconnect/qrcode-modal/dist/cjs/index.js 5:19-58

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 2:0-54 27:23-34

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/browser-utils/dist/esm/json.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/json.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/json.ts’**

@ ./node_modules/@walletconnect/browser-utils/dist/esm/index.js 2:0-23 2:0-23

@ ./node_modules/@walletconnect/qrcode-modal/dist/cjs/index.js 5:19-58

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 2:0-54 27:23-34

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/browser-utils/dist/esm/local.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/local.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/local.ts’**

@ ./node_modules/@walletconnect/browser-utils/dist/esm/index.js 3:0-24 3:0-24

@ ./node_modules/@walletconnect/qrcode-modal/dist/cjs/index.js 5:19-58

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 2:0-54 27:23-34

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/browser-utils/dist/esm/mobile.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/mobile.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/mobile.ts’**

@ ./node_modules/@walletconnect/browser-utils/dist/esm/index.js 4:0-25 4:0-25

@ ./node_modules/@walletconnect/qrcode-modal/dist/cjs/index.js 5:19-58

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 2:0-54 27:23-34

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/browser-utils/dist/esm/registry.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/registry.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/browser-utils/src/registry.ts’**

@ ./node_modules/@walletconnect/browser-utils/dist/esm/index.js 5:0-27 5:0-27

@ ./node_modules/@walletconnect/qrcode-modal/dist/cjs/index.js 5:19-58

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 2:0-54 27:23-34

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/client/dist/esm/index.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/client/src/index.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/client/src/index.ts’**

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/core/dist/esm/errors.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/errors.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/errors.ts’**

@ ./node_modules/@walletconnect/core/dist/esm/index.js 3:0-342 34:22-44 318:22-52 341:22-53 353:53-83 366:22-45 399:22-45 440:22-45 443:82-104 468:22-48 522:22-48 538:22-48 554:22-48 568:22-48 584:22-48 629:26-48 639:22-48 680:22-42 690:22-41 740:22-42 754:22-38 773:20-42 934:27-49 1056:22-39

@ ./node_modules/@walletconnect/client/dist/esm/index.js 1:0-44 4:28-37

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/core/dist/esm/events.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/events.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/events.ts’**

@ ./node_modules/@walletconnect/core/dist/esm/index.js 4:0-36 25:29-41

@ ./node_modules/@walletconnect/client/dist/esm/index.js 1:0-44 4:28-37

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/core/dist/esm/index.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/index.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/index.ts’**

@ ./node_modules/@walletconnect/client/dist/esm/index.js 1:0-44 4:28-37

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/core/dist/esm/storage.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/storage.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/storage.ts’**

@ ./node_modules/@walletconnect/core/dist/esm/index.js 5:0-39 28:54-68

@ ./node_modules/@walletconnect/client/dist/esm/index.js 1:0-44 4:28-37

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/core/dist/esm/url.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/url.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/core/src/url.ts’**

@ ./node_modules/@walletconnect/core/dist/esm/index.js 6:0-37 38:20-32

@ ./node_modules/@walletconnect/client/dist/esm/index.js 1:0-44 4:28-37

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/crypto/dist/esm/browser/aes.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/aes.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/aes.ts’**

@ ./node_modules/@walletconnect/crypto/dist/esm/browser/index.js 2:0-22 2:0-22

@ ./node_modules/@walletconnect/iso-crypto/dist/esm/index.js 1:0-48 7:16-34 17:22-43 34:27-47 37:21-42 60:23-43

@ ./node_modules/@walletconnect/client/dist/esm/index.js 2:0-55 7:6-15

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/crypto/dist/esm/browser/hmac.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/hmac.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/hmac.ts’**

@ ./node_modules/@walletconnect/crypto/dist/esm/browser/index.js 3:0-23 3:0-23

@ ./node_modules/@walletconnect/iso-crypto/dist/esm/index.js 1:0-48 7:16-34 17:22-43 34:27-47 37:21-42 60:23-43

@ ./node_modules/@walletconnect/client/dist/esm/index.js 2:0-55 7:6-15

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/crypto/dist/esm/browser/index.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/index.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/index.ts’**

@ ./node_modules/@walletconnect/iso-crypto/dist/esm/index.js 1:0-48 7:16-34 17:22-43 34:27-47 37:21-42 60:23-43

@ ./node_modules/@walletconnect/client/dist/esm/index.js 2:0-55 7:6-15

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/crypto/dist/esm/browser/sha2.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/sha2.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/browser/sha2.ts’**

@ ./node_modules/@walletconnect/crypto/dist/esm/browser/index.js 4:0-23 4:0-23

@ ./node_modules/@walletconnect/iso-crypto/dist/esm/index.js 1:0-48 7:16-34 17:22-43 34:27-47 37:21-42 60:23-43

@ ./node_modules/@walletconnect/client/dist/esm/index.js 2:0-55 7:6-15

@ ./node_modules/@walletconnect/web3-provider/dist/esm/index.js 1:0-50 98:36-49

@ ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 160:54-93

@ ./node_modules/moralis/lib/browser/MoralisWeb3.js 83:57-110

@ ./node_modules/moralis/lib/browser/Parse.js 45:42-66

@ ./node_modules/moralis/index.js 1:0-50

@ ./node_modules/react-moralis/lib/index.esm.js 3:0-36 5335:11-24

@ ./src/index.js 7:0-48 21:48-63

WARNING in ./node_modules/@walletconnect/crypto/dist/esm/constants/default.js

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/constants/default.ts’ file: Error**: ENOENT: no such file or directory, open ‘/Users/magradze/Desktop/Projects/Chain Bros/web/chainbros/node_modules/@walletconnect/crypto/src/constants/default.ts’**

@ ./node_modules/@walletconnect/crypto/dist/esm/constants/index.js 1:0-26 1:0-26

@ ./node_modules/@walletconnect/crypto/dist/esm/browser/index.js 6:0-29 6:0-29

@ ./node_modules/@walletconnect/iso-crypto/dist/esm/index.js 1:0-48 7:16-34 17:22-43 34:27-47

This issue kept persisting even after completely wiping my Mac and reinstalling everything manually. I was not receiving any of these errors last week.

I’m working on a number of React projects in the Web3 space, however whenever I run them from my terminal I’m greeted with a number of errors that prevent the application from working: https://pastebin.com/USN4V8kx.

At first I thought it was some sort of error with my project, but after being unable to fix it I started cloning boilerplate projects like GitHub.com/ethereum-boilerplate/ethereum-boilerplate. All I do is yarn install & yarn start (alternatively with npm) and I receive dozens of errors. It seems like almost all my react projects are having all sorts of errors when running locally. I even created isolated GitHub code spaces instances and still I’ve been receiving the same errors.

Has there been some major update to React or something that’s causing all the other modules I’m using to break?

hello, moralis team i need your help with something
whenever i use yarn install i am getting this message

“yarn install v1.22.18
warning …\package.json: No license field
[1/4] Resolving packages…
[2/4] Fetching packages…
error An unexpected error occurred: “C:\Users\sam\AppData\Local\Yarn\Cache\v6\[email protected]2d20614c55ac35-integrity\node_modules\@types\html-minifier-terser\.yarn-metadata.json: Unexpected token \u0000 in JSON at position 0”.
info If you think this is a bug, please open a bug report with the information provided in “C:\Users\sam\Desktop\tttttttt\ethereum-boilerplate\yarn-error.log”.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.”

1 Like

That’s the same error I’m getting here too.

How? Because I’m having same issue here.