callstack / react-native-builder-bob

👷‍♂️ Simple set of CLIs to scaffold and build React Native libraries for different targets
https://callstack.github.io/react-native-builder-bob/
2.81k stars 186 forks source link

Unable to run expo example project: Unable to resolve "react" from "example/src/App.tsx" #687

Open AnnaClaudiaSacute opened 1 day ago

AnnaClaudiaSacute commented 1 day ago

Description

Can not run the example expo project after create a new library with command npx create-react-native-library@latest awesome-library in version 0.44.1

Steps to reproduce:

Image

Packages

Selected options

✔ What is the name of the npm package? … ui-library ✔ What is the description for the package? … Test ui library component creation ✔ What is the name of package author? … Anna ✔ What is the email address for the package author? … anaclaudiasacute75@gmail.com ✔ What is the URL for the package author? … https://github.com/AnaClaudiaSac ✔ What is the URL for the repository? … https://github.com/AnaClaudiaSac/ui-library ✔ What type of library do you want to develop? › JavaScript library ✔ Project created successfully at ui-library!

Link to repro

N/A

Environment

MacOS: 12.7.6 Node: 22.11.0 create-react-native-library: 0.44.1

GabrielGomesBarbosa commented 23 hours ago

Same here!