react-native: react-native start not working in Examples

I tried to play with the examples and got this error when I want to run the dev server. It doesn’t launch automatically from xCode either.

react-native/Examples/2048
$ react-native start
Command `start` unrecognized. Did you mean to run this inside a react-native project?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

i had similar issue “$ react-native start Command start unrecognized” when i tried in windows command prompt. issue resolved by running commands in command prompt with “run as administrator”

@jaygarcia @funerr @florianpnn You can fix this by editing your package.json’s start command to look something like this:

"start": "node node_modules/react-native/local-cli/cli.js start"

I’m on RN v0.17 so this might be different for you guys