Closed boek closed 3 weeks ago
This is interesting because in https://github.com/unomed-dev/react-native-matrix-sdk/blob/main/yarn.lock#L10774 (which was generated with create-react-native-library
) I'm getting this package as a direct dependency of react-native itself. 🤔
Could you maybe double check your yarn.lock
file to see if there's really nothing else that would already pull this in?
This may be related to https://github.com/callstack/react-native-builder-bob/issues/662 , reported earlier today.
Oh, great find! Unfortunately, running into regressions when integrating the various tools in the RN ecosystem is a somewhat common annoyance in my experience. 😞
Maybe we could try to pin the RN version in the guide?
FYI: https://github.com/callstack/react-native-builder-bob/pull/665
The fix is to add "@react-native-community/cli": "15.0.0-alpha.2",
or with the version you desire to the root package's devDependencies
.
This appears to be fixed; thank you @atlj .
Out of context:
This project looks pretty interesting. If you have any other problems with CRNL or builder bob, please feel free to ping me.
This project looks pretty interesting. If you have any other problems with CRNL or builder bob, please feel free to ping me.
Sure thing! Thank you for everything you do!
first time setting up a react native build on this machine following the getting started guide and ran into this error
Was able to get past it by adding
"@react-native-community/cli": "latest",
to mydevDependencies
in the project. We may want to either call this out as a dependency to install globally or include it in thedevDependencies
in the template.