我正在使用react native expo。该应用程序在android上运行良好,但在网络上运行时会出现编译错误。它在以前工作得很好,但我怀疑这是在安装了一些新的软件包后开始的。
/ReactNativeFrontend/node_modules/@codler/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js 13:12
Module parse failed: Unexpected token (13:12)
You may need an appropriate loader to handle this f
我在实践中使用react-native expo开发了一个聊天应用,但当我在通常的开发流程中突然执行"expo start“时,显示了错误”was not connect to development server“。 如果您遇到过同样的错误并知道解决方案,如果您能提供帮助,我将不胜感激。 由于我之前链接了aws-amplify,我认为由于这种关系而安装的应用程序是导致错误的原因,但由于应用程序在浏览器中正常启动,只有iOS模拟器无法工作(Android处于无休止下载且无法启动的情况)。 我尝试过的 1)使用expo start -c删除缓存 2)如错误所示,npm启动,然后重新加载
我正在尝试通过使用安装页面上的步骤:expo install @notifee/react-native来安装Notifee,然后在"@notifee/react-native"文件中添加"@notifee/react-native"到我的app.json文件中,然后运行expo prebuild,但是我仍然会收到错误Error: Notifee native module not found.和Invariant Violation: "main" has not been registered.,我手动地将"plugins":
最近,我更新了我的react本地博览应用程序,以使用Expo 34,并且我得到了这个错误:The "ExpoNativeModulesProxy" native module is not exported through NativeModules; verify that expo-react-native-adapter's native code is linked properly。
我已经使用了expo在中建议的,我更新了我的世博-cli,节点版本,并且已经从使用npm转向了纱线,并且无论我尝试什么,都仍然看到这个错误。
我正在使用这个环境:
Expo
我真的不确定为什么我会收到这个错误,因为代码是从react网站文档中摘录的 (在https://reactnavigation.org/docs/tab-based-navigation/中使用选项卡导航代码示例后出现此错误) import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createBottomTabNavigator } from '@react-navigation/bottom-ta
我使用expo进行react原生,并希望在自己的react本地应用程序中初始化firebase auth。要修复的错误如下:
TypeError: (0, _reactNative.getReactNativePersistence) is not a function. (In '(0, _reactNative.getReactNativePersistence)(_asyncStorage.default)', '(0, _reactNative.getReactNativePersistence)' is undefined)
我的firebase in
在您尝试自动删除此副本之前,请听我说完。我花了一整天在谷歌上搜索并尝试了所有的方法。
我的项目是一个使用Expo的React Native应用程序。
最近,当我添加一些包以使测试正常工作时,我开始收到这个错误:
Invariant Violation: NetInfo has been removed from React Native. It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. See https
我试图设置一个react本机项目,在这个项目中,我只尝试用package导航在app.js中创建堆栈导航器,我遵循这个指南,然后进入,但是我得到了错误。
编译失败。D:/Visual Studio Code/Resturant Review/food/App.js模块未找到:无法解析“D:\Visual Studio Code\Resturant Review\food”中的@react导航/堆栈--这是我的代码:
//app.js
import * as React from 'react';
import { View, Text } from 'react-n
Google Play说。
阻塞我们检测到你的应用程序在一个或多个应用程序包或APK的清单文件中包含了requestLegacyExternalStorage标志。在运行Android 11+的设备上使用应用程序的开发人员必须使用作用域存储,以使用户更好地访问设备存储。若要在5月5日以后在Android 11或更高版本上发布应用程序,您必须在5月5日之后更新应用程序,以使用更加隐私友好的最佳实践,例如存储访问框架( Storage )或媒体存储API ( Media ),更新应用程序来声明清单文件中的所有文件访问权限(MANAGE_EXTERNAL_STORAGE)权限,并从5月5日起在游戏控
因此,我正在测试我的react本地应用程序,但它给了我这样的警告:
AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. See https://github.com/react-native-async