Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

./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) #3723

Closed
Mago2022 opened this issue Oct 18, 2022 · 2 comments
Labels
stale [bot only] Added to stale content; will be closed soon

Comments

@Mago2022
Copy link

./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)

@Mago2022
Copy link
Author

Mago2022 commented Oct 18, 2022

I removed package-lock.json and node_modules. And did npm install again. Still doesnt work.

  "dependencies": {
    "@project-serum/sol-wallet-adapter": "0.2.6",
    "@solana/spl-token": "0.3.5",
    "@solana/web3.js": "1.66.1",
    "react-dom": "^17.0.2",
  },

@magicdima
Copy link

magicdima commented Nov 16, 2022

looks like similar to #3014 and take a look at anza-xyz/wallet-adapter#265

@github-actions github-actions bot added the stale [bot only] Added to stale content; will be closed soon label Nov 17, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale [bot only] Added to stale content; will be closed soon
Projects
None yet
Development

No branches or pull requests

2 participants