roninoss / create-expo-stack

CLI tool to initialize a React Native application with Expo. Provides options to include Typescript, file-based routing via Expo Router, configuration based routing via pure React Navigation, styling via Nativewind, Restyle, Unistyles, StyleSheets, or Tamagui, and/or backend as a service such as Firebase and Supabase.

Home Page:https://rn.new

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Possible Solution

npx expo prebuild

Could the model come with the prebuild already completed?

Steps to Reproduce

  1. npx create-expo-stack my-app --expo-router --tabs --unistyles --yarn
  2. yarn ios

Context (Environment)

Node: v18.19.0
Yarn: 1.22.21
MacOS: 14.0

commented

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

commented

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.