Unistyles template not work without expo prebuild
huduarte opened this issue · comments
Expected Behavior
Create a project with expo, expo-router v3 and unistyles
Current Behavior
After the project is created and I attempt to run it for the first time, this happens:
![image](https://private-user-images.githubusercontent.com/50152238/301673917-0610530f-cb03-4448-ac46-36be3dae2dd0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMzUxMDUsIm5iZiI6MTcyMTMzNDgwNSwicGF0aCI6Ii81MDE1MjIzOC8zMDE2NzM5MTctMDYxMDUzMGYtY2IwMy00NDQ4LWFjNDYtMzZiZTNkYWUyZGQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE4VDIwMzMyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQwOTE4OWRkOWM1OWNiOWEyYTZmMThkYzY3ZTYwMWYyYzRiYzQ5OTUwNDU4MWRkNzEyM2E1NmM0MjYwN2EwNGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.YeWLqqifINlO057tnSqpZQVaZC1NxMKfAjvp5DEbr2s)
Possible Solution
npx expo prebuild
Could the model come with the prebuild already completed?
Steps to Reproduce
- npx create-expo-stack my-app --expo-router --tabs --unistyles --yarn
- yarn ios
Context (Environment)
Node: v18.19.0
Yarn: 1.22.21
MacOS: 14.0
The instructions say to run npx expo prebuild --clean
upon the command completing installation. This isn't so much an issue as a feature request. I could see what the experience is like trying to automatically run expo prebuild.
You're right, I'm sorry.
When you refer to instructions, you are talking about the instructions that are in the unistyles documentation, right?
Do you think it makes sense to include this information somewhere here?
In any case, I believe we no longer need this open issue, thanks for the answer ;D
You're right, I'm sorry.
When you refer to instructions, you are talking about the instructions that are in the unistyles documentation, right?
Do you think it makes sense to include this information somewhere here?
In any case, I believe we no longer need this open issue, thanks for the answer ;D
I am referring to the instructions listed at the very end of the output of running something like npx create-expo-stack@latest myapp --unistyles
The last three lines are instructions on how to run the project.