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

Class extends value undefined is not a constructor or null #3117

Open
zAndrey95 opened this issue Jul 25, 2024 · 1 comment
Open

Class extends value undefined is not a constructor or null #3117

zAndrey95 opened this issue Jul 25, 2024 · 1 comment
Labels
bug Something isn't working ts

Comments

@zAndrey95
Copy link

TypeError: Class extends value undefined is not a constructor or null
    at node_modules/@coral-xyz/anchor/node_modules/@solana/web3.js/lib/index.browser.esm.js (chunk-ZGB4AY2M.js?v=d20c72e9:3843:62)
    at __init (chunk-KK4SFAKU.js?v=d20c72e9:24:56)
    at @coral-xyz_anchor.js?v=d20c72e9:1898:1

My version packages:

"@coral-xyz/anchor": "0.30.0",
"@solana/web3.js": "1.91.7",

Use Vite.

How I can fix it, thx

@acheroncrypto acheroncrypto added bug Something isn't working ts labels Jul 25, 2024
@acheroncrypto
Copy link
Collaborator

The error seems to be coming from @solana/web3.js/lib/index.browser.esm.js, which likely means you'd get it even if you didn't use @coral-xyz/anchor.

I've searched the error in solana-labs/solana-web3.js and found a similar issue here: solana-labs/solana-web3.js#2783

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ts
Projects
None yet
Development

No branches or pull requests

2 participants