-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Struggling to run the example app #146
Comments
Hey those steps are wrong
|
I have tried that as well and had the same results. Having slept on it, and looking closely at the monorepo config, I think I have some ideas on how I can fix things. I'll submit a PR if I get it working. I'm really confused as to why it works for you. |
You just have to run that from the example folder, works for me |
Also run yarn from the root |
@nandorojo I have no idea why it works for you. The example app really should have PR #148 should get things into a better state, but there's still problems with the monorepo. Right now the example app uses zeego version 3.0.0-alt.1 where it really should be set up to depend on version |
The transitive deps thing might be a regression from the other day. The workspaces thing doesn’t matter because it’s configured in metro and tsconfig I believe Think you’re correct though, installing the peer deps directly in the example should actually be the fix. |
Having multiple yarn.lock is a problem though. You should be able to run yarn install in the root of the repo and its should install dependencies for the entire repository. Right now you have to run it twice, once in the root and once in the example. |
That’s actually common in setups like this. It shouldn’t be an issue |
The monorepo + react native + local fast refresh in dev stuff can be such a mess. Once it works you leave it lol |
Yeah I hear you. We have it super dialed in at AppFolio with moonrepo and yarn v4 and all the typescript project references working great. It took a lot of work to figure out though. I validated that the PR I dropped gets things in a pretty good state. I tested it by doing the following
|
Hi there.
I'm trying to build the iOS example app on commit ef12942 and it doesn't seem to work.
I've been trying to debug some accessibility issues we are having with Zeego and I figured the best place to start would be the example app, but I've been having a lot of issues trying to run it.
My understanding is that you're supposed to do the following to run the example:
yarn install
yarn bootstrap
yarn example ios --device
What am I doing wrong?
The text was updated successfully, but these errors were encountered: