GithubHelp home page GithubHelp logo

Comments (10)

bear-ei avatar bear-ei commented on June 2, 2024 1

@Saadnajmi I think We have difference in perception. The image of section "Actual Behavior" is what running "npx react-native run-macos", not "npx react-native start". Both of that commands behave differently.

Currently, executing npx react-native run-macos in version 0.73.0 does indeed result in the issue of "No bundle URL present." However, you can first run npx react-native start in one terminal to manually start the local Metro server, and then execute npx react-native run-macos to start the macOS application.

from react-native-macos.

Saadnajmi avatar Saadnajmi commented on June 2, 2024 1

@Bear-AI Thanks, yes I think run-macos is broken atm, I want to replace it with https://github.com/react-native-community/cli/tree/main/packages/cli-platform-apple , perhaps with the 0.74 release. I'm glad we found a workaround!

from react-native-macos.

Saadnajmi avatar Saadnajmi commented on June 2, 2024

Yeah that option is deprecated / removed so we should update the docs.
Does your app work if you run a metro server locally (I.e run 'npx react-native start' from a terminal while the app is running)?

from react-native-macos.

neko3cs avatar neko3cs commented on June 2, 2024

@Saadnajmi
I'm sorry for late message.
iOS App is work. but macOS App is not work.
To begin with, when I run npx react-native start, I don't see the macOS startup options.
Only "reload the app", "open developer menu", "run on iOS", "run on Android".

from react-native-macos.

Saadnajmi avatar Saadnajmi commented on June 2, 2024

@neko3cs The macOS startup options won't show, but if you click "Reload" in the Redbox, it should still properly reload the bundle

from react-native-macos.

neko3cs avatar neko3cs commented on June 2, 2024

@Saadnajmi
I think We have difference in perception. The image of section "Actual Behavior" is what running "npx react-native run-macos", not "npx react-native start". Both of that commands behave differently.

react-native-macos-error

from react-native-macos.

neko3cs avatar neko3cs commented on June 2, 2024

Yeeeeeaaaaaah!!! I'm happy to lauch my app!
@Saadnajmi @bear-ei Thank you so much for your helping!
I ran metro server on background(npx react-native start on other terminal), and I ran npx react-native run-macos.
So app is launched.

I hope to fix this problem. Is this a Metro server issue?
Should I open an Issue in the Repository?

from react-native-macos.

Saadnajmi avatar Saadnajmi commented on June 2, 2024

No, I think it's still an issue with our repo

from react-native-macos.

neko3cs avatar neko3cs commented on June 2, 2024

Oh, I understand. So "perhaps with the 0.74 release." you say.
I looking forward to release it.

from react-native-macos.

michelcrypt4d4mus avatar michelcrypt4d4mus commented on June 2, 2024

also having this issue

from react-native-macos.

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.