運行run-ios
命令時遇到問題。在此之前,應用程序啓動正常,但現在我在應用程序甚至完成捆綁之前即將進入此屏幕。React Native:run-ios已停止工作(ReferenceError)
這裏有一些我已經經歷了步驟來調試問題:
- 重置緩存上啓動與
npm start --reset-cache
- 清除守望配置
- 啓用遠程調試暫停對捕獲的異常*
- 創建一個新的分支爲以前的COM麻省理工學院的,我知道在此之前的問題已經工作(沒有解決)
- 刪除並重新安裝我的
node_modules
文件夾 - 刪除,並通過自制
- 清除NPM緩存
- 升級反應母語重新安裝守望者到
0.40.0
*這是錯誤的鉻檢測當捕捉行:
global = DedicatedWorkerGlobalScope {console: Object, __fbBatchedBridgeConfig: Object, __DEV_
我在許多問題上都嘗試了很多解決方案,但一直未能拿出正確的解決方案。
下面是一些可能相關的信息:
run-ios
啓動日誌:
Found Xcode project TipHiveMobile.xcodeproj
Launching iPhone 6 (iOS 10.2)...
Building using "xcodebuild -project TipHiveMobile.xcodeproj - configuration Debug -scheme TipHiveMobile -destination id=DDBF9D1C-CB3F- 4FCF-B9B6-C7AF372B7F3E -derivedDataPath build"
User defaults from command line:
IDEDerivedDataPathOverride = /Users/tylerreckart/Code/tiphive/TipHiveMobile/ios/build
=== BUILD TARGET RNVectorIcons OF PROJECT RNVectorIcons WITH CONFIGURATION Debug ===
log-ios
上重裝輸出
Jan 18 10:45:05 Nosferatu logd[30752] <Notice>: metadata shared cached uuid is null (using logd's shared cache info) nsurlstoraged (39014)
Jan 18 10:45:05 Nosferatu logd[30752] <Notice>: Failed to harvest strings for pathless uuid '00000000-0000-0000-0000-000000000000'
Jan 18 10:45:15 Nosferatu TipHiveMobile[31100] <Notice>: Initializing <RCTBatchedBridge: 0x608000199300> (parent: <RCTBridge: 0x6000000a28e0>, executor: RCTWebSocketExecutor)
Jan 18 10:45:15 Nosferatu TipHiveMobile[31100] <Warning>: Required dispatch_sync to load constants for RCTSourceCode. This may lead to deadlocks
Jan 18 10:50:33 Nosferatu routined[30747] <Error>: CoreLocation: Error occurred while trying to retrieve motion state update: CMErrorDomain Code:104
- 陣營原生版本:0.39.0
- 平臺: iOS版
- 操作系統:MacOS的
不幸的是,那也沒有奏效。我從提交的SHA中克隆了知識庫,但我仍然收到錯誤消息。我認爲這與其中一個模塊有關,但我不確定。 –