Closed fruityperson closed 2 years ago
Can you check which version of metro you have installed?
Run npm ls metro
Here's the output:
└─┬ react-native@0.63.2 invalid
└─┬ @react-native-community/cli@4.14.0
├─┬ metro-config@0.59.0
│ └── metro@0.59.0 deduped
└── metro@0.59.0
I am sorry I don't fully understand the this. What I can say is I created the project with Expo CLI a couple of days ago so I don't know why it's invalid.
As a quick fix, can you please provide a list of all optional dependencies for this library as I don't seem to find then in the docs.
Update: i have found all optional dependencies and installed them, but the same bug started to appear with dependencies themselves
I figured out that the error is due to incompatibility with Expo. Version 5.21 works fine.
Please try our latest version (6.1.x) We fixed some issues related to Expo
Also I updated our setup guide and separated between our Peer dependencies (Which are mandatory at the moment) and our Optional dependencies
Describe the bug
Fresh install of RNUILib, Expo v4.0.15. When importing throws errors that an optional peer dependency is missing. Error can be fixed by manually installing that dependency even though it's not used.
Console output:
Please notice the
.../optionalDependencies/...
in the path.To Reproduce
Expected behavior
optional dependencies are not required unless they are used
Code snippet
(unrelated parts cut)
Screenshots
Device (please complete the following information)
Additional context