Web3Auth / web3auth-web

Simple infrastructure that enables Web3 wallets and applications to provide seamless user logins for both mainstream and Web3.0 users.
https://web3auth.io/docs
Other
420 stars 228 forks source link

@metamask/abi-utils/dist/parsers/bool.js #1854

Closed xinKyy closed 2 months ago

xinKyy commented 3 months ago

image After following the steps in the document to install the webAuth/modal library, the following error occurred. I am using React

kapilkumartomar commented 3 months ago

I encountered a similar bug related to MetaMask RPC errors. I found that there is a dependency issue: everything works fine with @metamask/rpc-errors@6.2.1, but updating the dependency causes some packages to start using 6.3.1, which then throws the above error. image

chaitanyapotti commented 2 months ago

Please use vite for now or eject create react app to use latest babel/env plugins

SaschaKubisch commented 2 months ago

Hi Team, is there any update on this?

Migrating to vite is not a small task for us, and ejecting does not work.

Starting to look into alternative authentication solutions here because we cannot deploy since 1 week now.

chaitanyapotti commented 2 months ago

Fixed in the latest release: 8.11.0

kapilkumartomar commented 2 months ago

@chaitanyapotti After run yarn build it's giving same error. Not yet fixed!. Tried multiple times, by even removing node_modules, yarn.lock and build etc folders. But same above error.

chaitanyapotti commented 2 months ago

Hey.. pls check the version of "@metamask/rpc-errors" in your lock file. If it's above 6.2.1, Please pin it to 6.2.1 That should solve it.

shahbaz17 commented 2 months ago

Hi Team, is there any update on this?

Migrating to vite is not a small task for us, and ejecting does not work.

Starting to look into alternative authentication solutions here because we cannot deploy since 1 week now.

The migration would be an easy 7-step process that we also did for our demo apps. Alternatively, some tools let you do the same.

arpitB-dev commented 1 month ago

Hey @shahbaz17 , we are facing the same issue when using web3auth. the package versions are

 "@web3auth/base": "^8.12.1",
  "@web3auth/ethereum-provider": "^8.12.1",
  "@web3auth/no-modal": "^8.12.1",
  "@web3auth/openlogin-adapter": "^8.12.1",
   "@metamask/rpc-errors": "^6.2.1",
chaitanyapotti commented 1 week ago

Please upgrade to v9. it's fixed there