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

Metro has encountered an error: While trying to resolve module 'uint8arrays' from file '...' #7

Open
MattiaDellOca opened this issue Jan 11, 2024 · 0 comments

Comments

@MattiaDellOca
Copy link

I'm posting this issue for easier tracking as it was suggested by @mirceanis on the discord channel.

My original question

I’m trying to implement my SSI wallet using Veramo for the first time using this repository as starting point.
It works as it is out of the box, but if I try to update Veramo dependencies to a more recents version I get the error in picture.

IMG_1226

I’ve seen some questions on the topic but I’ve not found a clear solution. Does anyone knows a valid way to solve the issue?
Thank you very much.

@mirceanis response on Discord

These kinds of errors are caused by some libraries in the dependency tree exclusively using a newer module format for publishing (ESM) and don't include any compatibility with the older(CommonJS) format.
Sadly many tool chains are still not able to work with the new module formats out of the box, react native being a notorious example.

I don't have a ready solution to the error you're seeing. It's probably easiest to stick to the older versions until a fix or workaround is available.

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