Closed KaniDev closed 2 years ago
It's hard to help here. Monorepos are very complicated and there are many things that could be wrong with how you set it up. I recommend using the starter monorepo, and just uninstall expo
from apps/expo
(and you can rename that folder too).
npx create-solito-app@latest my-solito-app
cd my-solito-app/apps/expo
yarn remove expo
Hello ! I am trying to implement Solito in a Next + React Native monorepo (no Expo)
I built the repo myself since the solito starter was using Expo; everything works seemingly fine. However, after adding Solito and its config as the website says, I have an error at runtime when starting Next:
error - ../../node_modules/@react-navigation/native/lib/module/Link.js:2:0 Module not found: Can't resolve 'react-native'
The file exists and isn't empty.
Import trace:
next.config.txt