profile
viewpoint

Ask questionsyogakit/yogakit.modulemap' not found React Native

Description

I create a new app using react native. When I try to run the app within an iOS emulator using Xcode I get the following error and the app doesn't run.

fatal error: module map file '/Users/rebekah/Library/Developer/Xcode/DerivedData/example-feduelzeswwgfqdrghxcxxfxavuz/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found

I have tried to google this but have been unable to find a way to fix it, is there any way this can be fixed?

React Native version:

System: OS: macOS 10.15.6 CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz Memory: 23.01 MB / 4.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 13.7.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.5 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.9.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 Android SDK: API Levels: 29 Build Tools: 29.0.2 Android NDK: Not Found IDEs: Android Studio: Not Found Xcode: 11.6/11E708 - /usr/bin/xcodebuild Languages: Java: 1.8.0_45 - /usr/bin/javac Python: 2.7.16 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.11.0 => 16.11.0 react-native: 0.62.2 => 0.62.2 npmGlobalPackages: react-native: Not Found

facebook/react-native

Answer questions waclock

Using workspace works for me, however I cannot run the project by running react-native run-ios which is a bit annoying

useful!

Related questions

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65 hot 130
Error: Unable to resolve module `./debugger-ui/debuggerWorker.cff11639.js` from ``: - react-native hot 106
Task :app:stripDebugDebugSymbols FAILED & Task :app:generateDebugBuildConfig FAILED - react-native hot 97
React Native BUILD FAILED on run-ios hot 95
xcode 11.4 build fatal error: module map file xxx/Build/Products/Debug-iphoneos/YogaKit/YogaKit.modulemap' not found hot 93
(react-native run-android) -> Error: Command failed: ./gradlew installDebug hot 89
Unknown failure cmd: Can't find service: package hot 88
native_modules.gradle file is not downloading hot 78
Invalid `Podfile` file: cannot load such file -- /Users/admin/Desktop/kandigram/node_modules/@react-native-community/cli-platform-ios/native_modules. # from /Users/admin/Desktop/kandigram/ios/Podfile:2 # ------------------------------------------- # platform :ios, '9.0' > require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' # target 'Kandigram' do # ------------------------------------------- hot 76
No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB. - react-native hot 74
React Native: java.lang.RuntimeException: Catalyst Instance has already disappeared: requested by WebSocketModule hot 71
Error: Cannot find module 'warnOnce' hot 69
React Native: java.lang.RuntimeException: Catalyst Instance has already disappeared: requested by WebSocketModule - react-native hot 67
Cant build react native from box in XCode: 'event2/event-config.h' file not found hot 65
“However, this package itself specifies a `main` module field”, why? hot 60
source:https://uonfu.com/
Github User Rank List