Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29519

React Native Development Server Error 500

$
0
0

Hey I'm trying to make my first app in react-native and I am running into an issue after trying to install react-navigation and react-navigation stack.

When i try to run react-native start I get this error:

 BUNDLE  [android, dev] ./index.js ▓▓▓▓▓▓▓▓▓░░░░░░░ 57.2% (431/570)::ffff:127.0.0.1 - - [19/Feb/2020:23:06:17 +0000] "GET /index.bundle?platform=android&dev=true&minify=false HTTP/1.1" 500 - "-""okhttp/3.12.1"
error: bundling failed: Error: Unable to resolve module `@react-native-community/masked-view` from `node_modules/react-navigation-stack/lib/module/vendor/views/MaskedView.native.js`: @react-native-community/masked-view could not be found within the project.

but I have react-native-community in my node modules folder and have tried installing it again but it doesn't seem to exist when i do npm install react-native-community.

Also I'm not sure if this is related but when i do react-native run-android It gets stuck at 99% now on the app:installDebug step.

Edit: Fixed needed to do npm install @react-native-community/masked-view

Error on emulator


Viewing all articles
Browse latest Browse all 29519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>