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

./node_modules/@solana/buffer-layout-utils/lib/esm/web3.mjs Can't import the named export 'PublicKey' from non EcmaScript module (only default export is available) #6

Closed
zihangg opened this issue May 13, 2022 · 5 comments

Comments

@zihangg
Copy link

zihangg commented May 13, 2022

Recently did a fresh install of my application, seems like this issue just popped up.

@masnasri-a
Copy link

same

@562940559
Copy link

same.After re-importing the solana package, the package is forced to be imported every time, and it is useless to delete it, which makes web3js unusable. Hope this can be resolved soon.

@RetroDudeDev
Copy link

Was going to come here to report the same thing, anyone found a solution?

@jstarry
Copy link
Member

jstarry commented May 20, 2022

Thanks for raising this issue, I ran into this as well. Hoping this fix will resolve it: solana-labs/solana#25399

@jstarry
Copy link
Member

jstarry commented May 20, 2022

@solana/web3.js version 1.43.1 should fix this issue!

@jstarry jstarry closed this as completed May 20, 2022
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

5 participants