Replies: 1 comment
-
So I just upgraded Expo from 51 to 53, as well as switched to a yarn 1 workspace monorepo (avoiding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried creating a local package in my expo app, and I'm getting this invariant violation after the app is built and I try to run it:
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'AwesomeLibrary' could not be found.
I scaffolded the package like so:
However it doesn't look like yarn 1 (classic) supports
link
in package.jsonlink:./modules/awesome-library
, so would I usefile:./modules/awesome-library
in my package.json?Either way, I still get that invariant violation in my app, even after running:
I'm using an expo development build, not expo go. Pod install finds the AwesomeLibrary package okay. No build errors, just that runtime error after launching the app.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions