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

ReferenceError: self is not defined when using umd version #1091

Open
xpluscal opened this issue Dec 16, 2022 · 1 comment
Open

ReferenceError: self is not defined when using umd version #1091

xpluscal opened this issue Dec 16, 2022 · 1 comment

Comments

@xpluscal
Copy link

Describe the bug

When using the umd version like this:

import { Web3Auth } from "@web3auth/modal/dist/modal.umd.min.js";

I am getting this error:

ReferenceError: self is not defined

This is using version 4.0.0 of web3auth/modal

Thank you!

@shahbaz17
Copy link
Member

Hey @xpluscal

Could you share more details about this error?

Code snippet, browser's console screenshots, language/framework, browser, etc

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

2 participants