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 #121

Open
IbrahimSam96 opened this issue Jun 7, 2024 · 0 comments
Open

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

IbrahimSam96 opened this issue Jun 7, 2024 · 0 comments

Comments

@IbrahimSam96
Copy link

IbrahimSam96 commented Jun 7, 2024

Hello Metaplex Dev team/ OS gang;

Anyone came across this issue ? I literally just followed the getting started and got hit with this on the first line of code. Would appreciate any takes on how to solve this!

    "@metaplex-foundation/mpl-token-metadata": "^3.2.1",
    "@metaplex-foundation/umi": "^0.9.1",
    "@metaplex-foundation/umi-bundle-defaults": "^0.9.1",

const umi = createUmi('https://api.devnet.solana.com').use(mplTokenMetadata());
Uncaught runtime errors:
×
ERROR
Class extends value undefined is not a constructor or null
TypeError: Class extends value undefined is not a constructor or null
    at ./node_modules/@metaplex-foundation/mpl-token-metadata/dist/src/errors.js (http://localhost:3000/static/js/vendors-node_modules_metaplex-foundation_mpl-token-metadata_dist_src_index_js-node_modules_me-1c523c.chunk.js:327:40)
    at options.factory (http://localhost:3000/static/js/bundle.js:144578:31)
    at __webpack_require__ (http://localhost:3000/static/js/bundle.js:143966:33)
    at fn (http://localhost:3000/static/js/bundle.js:144235:21)
    at ./node_modules/@metaplex-foundation/mpl-token-metadata/dist/src/hooked/metadataDelegateRoleSeed.js (http://localhost:3000/static/js/vendors-node_modules_metaplex-foundation_mpl-token-metadata_dist_src_index_js-node_modules_me-1c523c.chunk.js:19200:18)

I tested with create-next-app from scratch and works fine. But fails with create-react-app v18&17

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