Description
React Native version:
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
Memory: 2.39 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
Android SDK:
API Levels: 27, 28, 29
Build Tools: 27.0.3, 28.0.3, 29.0.2
System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
Android NDK: 20.0.5594570
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.1 => 0.61.1
Steps To Reproduce
- With RN 0.61.1, I started getting messages like these in "Output" window in VS Code when I run "Debug iOS":
error: bundling failed: Error: Unable to resolve module `../Components/AccessibilityInfo/AccessibilityInfo` from `node_modules/react-native/Libraries/react-native/react-native-implementation.js`:
None of these files exist:
* node_modules/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo(.native|.native.js|.js|.native.json|.json|.native.ts|.ts|.native.tsx|.tsx)
* node_modules/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo/index(.native|.native.js|.js|.native.json|.json|.native.ts|.ts|.native.tsx|.tsx)
at ModuleResolver.resolveDependency (/<my project path>/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:163:15)
at ResolutionRequest.resolveDependency (/<my project path>/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:52:18)
at DependencyGraph.resolveDependency (/<my project path>/node_modules/metro/src/node-haste/DependencyGraph.js:282:16)
at Object.resolve (/<my project path>/node_modules/metro/src/lib/transformHelpers.js:267:42)
at dependencies.map.result (/<my project path>/node_modules/metro/src/DeltaBundler/traverseDependencies.js:426:31)
at Array.map (<anonymous>)
at resolveDependencies (/<my project path>/node_modules/metro/src/DeltaBundler/traverseDependencies.js:423:18)
at /<my project path>/node_modules/metro/src/DeltaBundler/traverseDependencies.js:275:33
at Generator.next (<anonymous>)
at asyncGeneratorStep (/<my project path>/node_modules/metro/src/DeltaBundler/traverseDependencies.js:87:24)
MAP [dev] ./index.js ░░░░░░░░░░░░░░░░ 0.1% (3/90), failed.
::ffff:127.0.0.1 - - [25/Sep/2019:13:27:26 +0000] "GET /index.map HTTP/1.1" 500 - "-" "-"
error: bundling failed: Error: Unable to resolve module `../Components/AccessibilityInfo/AccessibilityInfo` from `node_modules/react-native/Libraries/react-native/react-native-implementation.js`:
The project runs fine though.
Describe what you expected to happen:
No such messages