运行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中克隆了知识库,但我仍然收到错误消息。我认为这与其中一个模块有关,但我不确定。 –