Open JakeXu opened 6 years ago
Hi,
Try npm install
from the root of your project, seems like react-native
is not installed.
I have found the solution, but I don't know why?
After running react-native init project-name
, you MUST
run the below command FIRST
,
npm remove jest -D
npm i jest -D
Then, follow the manual, everything will be ok, work fine for you! It costs me so much time!!!
Hi @JakeXu I have done what you have said
npm remove jest -D npm i jest -D and went to the project and done run-its as react-native run-its but got same error
my project is git clone https://github.com/tassdr/react-native-template.git
downloaded there and trying to run in my macOS but error remains same
Admins-MacBook-Pro:react-native-template admin$ react-native run-ios error iOS project folder not found. Are you sure this is a React Native project?. Run CLI with --verbose flag for more details. Admins-MacBook-Pro:react-native-template admin$
please help me
Try this Cmd wrok for me
npx react-native run-ios
Follow the guide, I get the below package.json:
When I run this command line:
Then I run
got the tips:
How should I do for it? Everybody can give me some suggestions, Thank you in advance!