Closed
Description
Description
After ejecting, none of the react-native tasks seem to work. I'm not sure if this problem is related to create-react-native-app
(or at least could be solved here), but I would like to report it anyway.
Expected Behavior
I guess it should just work.
Observed Behavior
Got the folling message:
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
error Command failed with exit code 1.
Even after running those commands, the problem is still here.
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-scripts
: (empty)npm ls react-native
: 0.46.1 (tried 0.47.1 too)npm ls expo
:node -v
: 8.3.0npm -v
: 5.3.0yarn --version
: 0.27.5watchman version
: 4.9.0
Also specify:
- Operating system: Windows
Reproducible Demo
- Create new project with
create-react-native-app
- Run
eject
- Run
android
or any other task
Metadata
Metadata
Assignees
Labels
No labels