-
Notifications
You must be signed in to change notification settings - Fork 51
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
Unable to resolve "@metaplex-foundation/umi/serializers" from "node_modules/@metaplex-foundation/mpl-bubblegum/dist/src/hash.js" #94
Comments
@mordonez-me any updates? Facing the same issue |
I got the same error when trying to test my module by use jest. But it work with
|
Ran into this issue on React Native and after some investigation might have found the root cause. CauseThis issue is caused because the React Native's Metro Bundler doesn't support Package Exports by default, so it is unable to find Attempted fixFollowing the guide, I enabled the experimental This is what I added to
But it ran into another issue when trying to resolve an import within
|
enabling the
Find the bare bones app that can build here. NOTE: the button doesn't actually create an asset since it's expecting crypto to be there but the imports seem to be working as expected |
As an additional workaround for node.js express @gin on Discord shared that this worked for them: const moduleAlias = require('module-alias');
moduleAlias.addAlias('@metaplex-foundation/umi/serializers', '@metaplex-foundation/umi-serializers'); |
No clue about what is going here...
Libraries
Code:
Stacktrace:
The text was updated successfully, but these errors were encountered: