I follow this sample code - keep encounter this issue -
./node_modules/@metamask/rpc-errors/dist/chunk-ROLUROML.mjs
Module parse failed: ‘super’ keyword outside a method (36:12)
| constructor(code, message, data){
| var __super = function() {
super(...args);
| for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
| args[_key] = arguments[_key];
Import trace for requested module:
./node_modules/@metamask/rpc-errors/dist/chunk-ROLUROML.mjs
./node_modules/@metamask/rpc-errors/dist/index.mjs
./node_modules/@web3auth/base-provider/dist/baseProvider.esm.js
./node_modules/@web3auth/modal/dist/modal.esm.js
When asking for help in this category, please make sure to provide the following details:
“@web3auth/base”: “^8.12.0”,
“@web3auth/ethereum-provider”: “^8.12.0”,
“@web3auth/modal”: “^8.12.1”,
“next”: “14.1.0”,
“typescript”: “^5”
-
SDK Version(package.json):
-
Platform:
-
Browser Console Screenshots:
-
If the issue is related to Custom Authentication, please include the following information (optional):
- Verifier Name:
- JWKS Endpoint:
- Sample idToken (JWT):
Also, kindly provide the Web3Auth initialization and login code snippet below. This will help us better understand your issue and provide you with the necessary assistance.