简体   繁体   中英

react-native app crashes while I want to run debugger-ui react-native-debbugger

I have started my application and install npm packages using npm install , then as usual I have installed debug version of the application using npx react-native run-android , then started the application with npx react-native start . The works fine until I want to use debugger-ui and debug my application using react-native-debugger or fb-flipper . The problem occurs when pressing r in the terminal and choosing Debug from the modal that appears on the emulator screen. This is the error that I'm facing with int he terminal: 在此处输入图片说明

And also this one in the React Native Debugger tab in the chrome console: 在此处输入图片说明

As I'm using the latest version of react-native-reanimated in this project and have followed the installation instructions in the documentation I have used this command for installing that:

npm install react-native-reanimated@next

I have been looking into documentation and after reading that really carefully I have just figured out that the react-native-reanimated@2 is not going to work with react-native-debugger and you can run debugger-ui the documentation recommended to use facebook flipper another amazing developer tool for react-native apps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM