When walletconnect is installed I can’t deploy code successfully to cloud.
So I removed walletconnect and deployed successfully.
But in my console it is showing everytime
Can’t resolve ‘@walletconnect/web3-provider’
When walletconnect is installed I can’t deploy code successfully to cloud.
So I removed walletconnect and deployed successfully.
But in my console it is showing everytime
Can’t resolve ‘@walletconnect/web3-provider’
is that an error or only a warning that can be ignored?
only a warning. I am developing the app without problem. But this warning comes everytime and it is annoying.
What is the error that you get here?
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/DApp/Developer/DApp/wow/node_modules/@metamask/detect-provider/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/DApp/Developer/DApp/wow/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.tsx 6:0-48 11:38-53
WARNING in ./node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js 158:54-93
Module not found: Error: Can't resolve '@walletconnect/web3-provider' in '/Users/DApp/Developer/DApp/wow/node_modules/moralis/lib/browser/Web3Connector'
@ ./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.tsx 6:0-48 11:38-53
2 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.67.0 compiled with 2 warnings in 421 ms
Looks like you’re using webpack 5, you should be able to fix this by reverting react-scripts
to v4.0.3
To deploy ignoring the warnings, create an environment variable CI and set its value to false
Error:
5:27:20 PM: Failed to compile.
5:27:20 PM:
5:27:20 PM: Module not found: Error: Can’t resolve ‘magic-sdk’ in ‘/opt/build/repo/node_modules/moralis/lib/browser/Web3Connector’
5:27:20 PM: Module not found: Error: Can’t resolve ‘@walletconnect/web3-provider’ in ‘/opt/build/repo/node_modules/moralis/lib/browser/Web3Connector’
5:27:20 PM: Module not found: Error: Can’t resolve ‘@web3auth/web3auth’ in ‘/opt/build/repo/node_modules/moralis/lib/browser/Web3Connector’
- Downgrading to webpack 4 by downgrading the react-scripts to 4.0.3 or installing the dependencies in the warning did not fix the warnings.
I am facing the same issue in uniswap v3
Can you give more details please - what exact issue? What do you mean with uniswap v3?