Needs more documentation.
karimcambridge opened this issue ยท 8 comments
- Testing the plant-app*
Okay, so I thought setup would be very simple, (drop files in a create-react-native-app
, then npm install
then react-native run-android
?
That fails with:
PS D:\Github\appname> react-native link
D:\Github\appname\node_modules\@babel\core\lib\config\files\plugins.js:152
throw e;
Error: Cannot find module 'metro-react-native-babel-preset' from 'D:\Github\appname'
Also what is metro-react-native-babel-preset
? where should that go
Also screens/Signup.js
should be screens/SignUp.js
Unable to resolve "react-native-gesture-handler" from "node_modules@react-navigation\native\src\Scrollables.js" < on expo start
-> run on android emulator, that should be in package.json
@karimcambridge good point.
- what app are you getting this errors?
- all the apps/screens are based on
expo init
for my fast setup
Mainly the screens are for inspirational purpose, you just copy/paste full code or a partial code.
Yea I just pulled the code.
Ah, I may be at fault here, I BELIEVE this folder was a create-react-native-app
command and not an expo init
, I shall start from fresh and try that!
@karimcambridge let me know if is working or if I need to update the project.
In screens\welcome.js
<Modal animationType="slide" visible={this.state.showTerms} onRequestClose={() => this.setState({ showTerms: false })}>
@karimcambridge according to @cheuk3 you could add a new prop => onRequestClose={ () => {} }
@karimcambridge the issue is fixed, please try again.
@cheuk3 thanks for the support
for the error about react-native-gesture handler
just go to your root project and on terminal run
expo install react-native-gesture-handler