You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @samwightt and @steida 👋
I tried to install evolu with expo 52 and I wasn't successful.
I also tried with a fresh 51 install and nothing as well, even though I tried to follow the example here.
I am not sure why it doesn't work, but I think it's related to what is listed here in this issue.
Following the instructions here and manually editing the package.json files and using default in the exports of evolu packages got me to different errors, so I think this would partially help fix the issue.
Could I help fix the issue somehow? I just need a bit more context, as I am trying the project for the first time and I was only able to run the example here, but not being able to set up a project of my own.
Metro is the bundler for React Native. It has experimental support for the
exports
field in package.json, however I have had issues getting it to work with some of Evolu's packages. Things that need to change:browser
need to bedefault
instead. Node recommends usingdefault
instead ofbrowser
here: https://nodejs.org/docs/latest-v19.x/api/packages.html#conditional-exportsdefault
conditional export with the same value asbrowser
.exports
support in Metro:metro.config.js
file.config.resolver.unstable_enablePackageExports = true;
to theirmetro.config.js
file.This should fix errors users get where Metro cannot find Evolu's modules.
The text was updated successfully, but these errors were encountered: