gpt4 book ai didi

ios - 尝试将 React Native 项目构建到设备时出现奇怪的错误和红屏

转载 作者:行者123 更新时间:2023-11-29 10:23:46 26 4
gpt4 key购买 nike

我正在尝试在我的 iPhone 上构建我的 react-native 项目,但不断收到以下错误:

2015-11-01 20:50:19.134 [error][tid:com.facebook.React.JavaScript] 'Error: Can\'t find variable: Symbol\n stack: \n  <unknown>  main.jsbundle:64380\n  require    main.jsbundle:254\n  <unknown>  main.jsbundle:64198\n  require    main.jsbundle:254\n  <unknown>  main.jsbundle:64125\n  require    main.jsbundle:254\n  <unknown>  main.jsbundle:64028\n  require    main.jsbundle:254\n  <unknown>  main.jsbundle:1409\n  require    main.jsbundle:254\n  <unknown>  main.jsbundle:1398\n  require    main.jsbundle:254\n  require    main.jsbundle:200\n  <unknown>  main.jsbundle:95010\n URL: file:///private/var/mobile/Containers/Bundle/Application/8E332C19-45CF-4874-AC61-7427C508ED16/Jobletics.app/main.jsbundle\n line: 64380\n message: Can\'t find variable: Symbol'
2015-11-01 20:50:19.238 [info][tid:com.facebook.React.JavaScript] 'Running application "Jobletics" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === false, development-level warning are OFF, performance optimizations are ON'
2015-11-01 20:50:19.241 [error][tid:com.facebook.React.JavaScript] 'Error: Invariant Violation: Application Jobletics has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.\n stack: \n runApplication main.jsbundle:44346\n __callFunction main.jsbundle:5536\n <unknown> main.jsbundle:5472\n guard main.jsbundle:5425\n <unknown> main.jsbundle:5472\n <unknown> main.jsbundle:5469\n perform main.jsbundle:7017\n batchedUpdates main.jsbundle:16438\n batchedUpdates main.jsbundle:6320\n <unknown> main.jsbundle:5468\n guard main.jsbundle:5425\n processBatch main.jsbundle:5467\n URL: file:///private/var/mobile/Containers/Bundle/Application/8E332C19-45CF-4874-AC61-7427C508ED16/Jobletics.app/main.jsbundle\n line: 2012\n message: Invariant Violation: Application Jobletics has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.

有了这个屏幕enter image description here

我已经完成了 $ react-native bundle。它可能与权限有关吗?请帮忙。

最佳答案

我知道 React Native 团队正在解决这个问题,但如果您同时正在寻找临时解决方案,我建议您使用这个 polypill。

https://github.com/medikoo/es6-symbol

关于ios - 尝试将 React Native 项目构建到设备时出现奇怪的错误和红屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33470096/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com