profile
viewpoint

Ask questionsUnable to resolve module `../Components/AccessibilityInfo/AccessibilityInfo` message

I posted this bug to react-native a few days ago: https://github.com/facebook/react-native/issues/26568

Probably it should instead be posted here, because when I run react-native run-ios, there are no such messages.

Also, debugging in VSCode completely stopped working after upgrading to RN 0.61 ('unverified breakpoint')...

Software versions

  • React-Native VS Code extension version: 0.11.2
  • VSCode version: 1.38.1
  • OS platform and version: macOS 10.14.6
  • NodeJS version: 12.11.0
  • React Native version: 0.61.1
  • Expo SDK version (include if relevant): N/A
microsoft/vscode-react-native

Answer questions StasD

Created a brand new project: react-native init MyApp. Opened it in VS Code. Created a debug configuration React Native: Debug iOS. Edited launch.json to include "target": "iPhone 11 Pro" parameter. When I run Debug iOS for the very first time, those messages are actually not present... But on every successive run (when I close simulator, stop debugger, and run Debug iOS again), they are... Even if I delete ios/build folder before running "Debug iOS", or restart VS Code. Yes, react-native-cli is installed globally, only with yarn, not npm.

useful!

Related questions

[Error] TypeError: ConfigUtils(...).configFilenameAsync is not a function hot 134
Can't attach packager for debugging hot 106
Error while executing command 'react-native.cmd run-android --no-packager' (error code 101) hot 99
/bin/sh: 1: adb: not found on Linux hot 55
Cannot bind listener: operation not permitted hot 49
Error while executing command 'react-native run-ios --simulator --no-packager' hot 39
Error while executing command 'react-native.cmd run-android --no-packager': Error while executing command 'react-native.cmd run-android --no-packager' (error code 101) hot 33
Cannot read property 'getCurrentUserAsync' of undefined hot 26
Cannot bind listener: operation not permitted hot 23
Current workspace does not contain React Native projects hot 22
Version 0.13 breaks running packager from VS Code from different folder hot 15
Could not debug - error code 604 hot 13
Not all success patterns were matched. (error code 712) hot 12
Current workspace does not contain React Native projects hot 11
Expo app doesn't connect to packager hot 10
Github User Rank List