Commit 48e1170
authored
docs: fix Metro bundler startup instructions (#2795)
## Summary
This PR fixes the misleading documentation in `getting-started.md` that
incorrectly stated Metro bundler would open automatically when running
`npx react-native run-macos`.
As confirmed in issue #2208, Metro bundler must be started separately
before running the app and this is expected behavior by design. Users
following the current documentation were encountering the error "**_No
script URL provided. Make sure the packager is running or you have
embedded a JS bundle in your application bundle_"** because they
expected Metro to start automatically.
## Changes
- Updated the Quick Start section to include Metro bundler startup as
the first step
- Removed the incorrect statement: "A Metro bundler window will also
open to serve your JavaScript code"
- Clarified that Metro must be running in a separate terminal before the
app can connect to it
Fixes #22081 parent 709c4c3 commit 48e1170
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
48 | | - | |
| 56 | + | |
49 | 57 | | |
50 | 58 | | |
51 | 59 | | |
| |||
0 commit comments