Comments (10)
@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.
@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.
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.
@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.
@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.
@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.
from react-native-macos.
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.
No, I think it's still an issue with our repo
from react-native-macos.
Oh, I understand. So "perhaps with the 0.74 release." you say.
I looking forward to release it.
from react-native-macos.
also having this issue
from react-native-macos.
Related Issues (20)
- [Fabric] TextInput UI is not updated when changing prop `value` or calling `inputRef.current.clear()` / `inputRef.current.setNativeProps({text: ''})` HOT 2
- Web inspector flashing on production/release build when starting the app HOT 6
- Keyboard shortcuts (copy, paste, select) not working in TextInput HOT 6
- "Fatal error: 'ExpoModulesCore/ExpoModulesCore.h' file not found" in run-macos HOT 3
- I want to request a feature like in-app Purchases support, and Firebase support. HOT 3
- useWindowDimensions causes infinite re-rendering HOT 3
- Wrong image pixel density version on initial launch HOT 6
- Right click context menu HOT 5
- No version of react-native-macos@^0.70.0-0 found! HOT 1
- <Text onBlur={() => {}}> throws -[RCTTextView setOnBlur:]: unrecognized selector sent HOT 1
- How can i get the microphone or camera permission in react-native-macOS, i am using react-native-permissions HOT 3
- `Text` elements' `backgroundColor` style prop extends to the entire background
- NSTabView doesn't send mouseUp event because it doesn't inherit from NSControl HOT 7
- How can I make the react-native-macos work with ios? HOT 7
- npx react-native run-macos in a new project is launching code in an unrelated project HOT 2
- Native local notifications in macOS (is this already possible?) HOT 19
- React Native Macos overrides `resolveRequest` property of `resolver` in Metro config HOT 2
- Cursor jumps on multiline text inputs HOT 2
- Dimensions.get('window') and useWindowDimensions() return 0 when the containing window is an NSPopover HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-macos.