The development server returned response error code: 500 in react native

前端 未结 16 1218
夕颜
夕颜 2021-02-05 01:29

I am using react-native framework for developing my android app. I want to use react-native-material-design library for making Toolbar wit

相关标签:
16条回答
  • 2021-02-05 02:17

    try installing react-native-material-design locally instead of globally.

    It looks like react-native-material-design depends on react-native-material-design-styles which won't be packaged by React Native's bundler since its parent is a global module.

    0 讨论(0)
  • 2021-02-05 02:20

    If you are using react-native version: 56.0 then downgrade it version 54 .Its worked for me

    0 讨论(0)
  • 2021-02-05 02:21

    babel-preset-react-native make this trouble. Run below orders in your project root dir:

    $yarn remove babel-preset-react-native

    $yarn add babel-preset-react-native@2.1.0

    0 讨论(0)
  • 2021-02-05 02:25

    Whenever any one get this kind of Error with Error Code 500. Following reason behind this.

    1) You might work in Linux system & You have to run application with the terminal & check into the Android Simulator rather in Devices.

    2)If you work with above then please make sure your Simulator Wife should be off & then work with Studio It will work perfectly.

    Hope you will get the solution.

    0 讨论(0)
提交回复
热议问题