Giter Club home page Giter Club logo

Comments (5)

rayston92 avatar rayston92 commented on May 12, 2024 1

@loatheb we should also clarify these on readme file.

from app-monorepo.

rayston92 avatar rayston92 commented on May 12, 2024

@loatheb

from app-monorepo.

loatheb avatar loatheb commented on May 12, 2024
Metro (the local dev server) is run from the wrong folder

@jacko06v
Which command did you run? If you want to run on the real machine, you need an IOS developer account and the corresponding configuration. After configuring your own developer account and certificate, you need to run expo run:ios --device in packages/app

from app-monorepo.

jacko06v avatar jacko06v commented on May 12, 2024

@loatheb I have an IOS developer account, initially I started the app in a simulator, the app opened, it asked me to select a client, but once the client was selected it crashed.
I had read somewhere that until the last commit the app did not go on the simulator, although I downloaded all the updated repo I thought it could be the same error, so I connected my iphone via usb and I ran expo run: ios --device

the application has been installed correctly, but as on the simulator, the app opens, when I choose the client it crashes

the problem is that the console does not print any errors!
every time the app crashes the console just prints "iOS Bundling complete"
Schermata 2022-05-08 alle 20 34 52

so i started a new client on port 8082, and i tried to connect to it again
now it crashes, but the console prints the error:

None of these files exist:
  * App(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)
  * App/index(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)
  1 | import registerRootComponent from 'expo/build/launch/registerRootComponent';
  2 |
> 3 | import App from '../../App';
    |                  ^
  4 |
  5 | registerRootComponent(App);
  6 |
Error: Problem validating fields in app.json. Learn more: https://docs.expo.dev/workflow/configuration/
 • Field: slug - 'slug' should match pattern "^[a-zA-Z0-9_\-]+$".
Error: Problem validating fields in app.json. Learn more: https://docs.expo.dev/workflow/configuration/
 • Field: slug - 'slug' should match pattern "^[a-zA-Z0-9_\-]+$".

from app-monorepo.

jacko06v avatar jacko06v commented on May 12, 2024

UPDATE

After this commit 74700d8
the app started working on both the simulator and the device!

from app-monorepo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.