You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a new library using the command: npx create-react-native-library@latest awesome-library
Enter inside folder: cd awesome-library
Install dependencies: npm i
Enter inside example folder: cd example
Start metro: npm start
See error on console
Packages
create-react-native-library
react-native-builder-bob
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? … [email protected]
✔ 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!
Hey @AnnaClaudiaSacute, the generated project uses yarn by default (see CONTRBUTING.md). If you want to use npm, you may have to do some additional changes. If it still doesn't work with yarn, please share a repro to take a look.
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.1Steps to reproduce:
npx create-react-native-library@latest awesome-library
cd awesome-library
npm i
cd example
npm start
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? … [email protected]
✔ 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
The text was updated successfully, but these errors were encountered: