yuanyan / react-native-web-example

React Native Web Example
40 stars 24 forks source link

can't run this demo #5

Closed SidFeng closed 8 years ago

SidFeng commented 8 years ago

npm start

this is output Looks like you installed react-native globally, maybe you meant react-native-cli? To fix the issue, run npm uninstall -g react-native npm install -g react-native-cli

but i had install react-native-cli

SidFeng commented 8 years ago

I change my package.json file to "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start" }, and it is working now