Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error log when importing from @web3auth/base #2012

Open
Corsair0x opened this issue Nov 13, 2024 · 1 comment
Open

Error log when importing from @web3auth/base #2012

Corsair0x opened this issue Nov 13, 2024 · 1 comment

Comments

@Corsair0x
Copy link

Describe the bug

I have a weird error log in my app

To Reproduce

Steps to reproduce the behavior:

  1. Setup Web3Auth Provider

Expected behavior

No logs

Screenshots

CleanShot 2024-11-13 at 14 40 08@2x

Device Info (please complete the following information):

  • Device: Macbook Pro
  • OS: MacOS
  • Web3Auth Version: 9.4.0

Additional context

dapp:dev:  ⚠ ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@web3auth/auth/dist/lib.esm/core/auth.js
dapp:dev: Attempted import error: 'SESSION_SERVER' is not exported from '@toruslabs/constants' (imported as 'SESSION_SERVER').
dapp:dev: 
dapp:dev: Import trace for requested module:
dapp:dev: ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@web3auth/auth/dist/lib.esm/core/auth.js
dapp:dev: ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@web3auth/auth/dist/lib.esm/index.js
dapp:dev: ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@toruslabs/base-controllers/dist/lib.esm/BaseController.js
dapp:dev: ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@toruslabs/base-controllers/dist/lib.esm/index.js
dapp:dev: ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@web3auth/base/dist/lib.esm/index.js
dapp:dev: ../../packages/utils/services/web3auth.ts
@Corsair0x
Copy link
Author

Can be patched by setting the resolutions to:

	"resolutions": {
		"@web3auth/auth": "9.5.1"
	}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant