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