3

When I do react-native init > npm start in the terminal of an empty folder, I get this:

[email protected] start C:\Users\user\OneDrive\Desktop\test node node_modules/react-native/local-cli/cli.js start

Scanning folders for symlinks in C:\Users\User\OneDrive\Desktop\test\node_modules (40ms) ┌──────────────────────────────────────────────────────────────────────────────┐ │
│ │ Running Metro Bundler on port 8081.
│ │
│ │ Keep Metro running while developing on any JS projects. Feel free to │ │ close this tab and run your own Metro instance if you prefer. │ │
│ │ https://github.com/facebook/react-native
│ │
│ └──────────────────────────────────────────────────────────────────────────────┘

Looking for JS files in C:\Users\user\OneDrive\Desktop\test

Metro Bundler ready.

Loading dependency graph, done.

Then it just hangs there.. forever. I tried waiting 30 minutes, still nothing. I'm on Windows 10, react version 0.55.3, and npm 5.5.1.

3
  • try react-native upgrade, it fixed it for me, Commented Jul 8, 2018 at 22:06
  • Have you run react-native run-android to actually launch the app on an emulator? The bundler itself will just sit there until an RN app tries to connect to it. Commented Aug 9, 2018 at 19:48
  • have you found a solution? Commented Sep 6, 2018 at 2:36

1 Answer 1

1

Have you tried following the steps in the "Getting started" section of the react-native docs?

Sign up to request clarification or add additional context in comments.

1 Comment

Yeah, the create-react-native-app works fine, but that's an example package. I'd like to use the normal (react-native init), which doesn't work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.