我已经改变了我的index.js,因为我试图跟随这个图层:
https://www.youtube.com/watch?v=6soHPnHxHxI
import { registerRootComponent } from 'expo';
import React from "react";
import { AppRegistry } from "react-native";
import App from "./App";
import { n
我正在尝试通过使用安装页面上的步骤: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":
我正在尝试使用expo和react native导入指南针模块,但未成功 LINK to library 当我取消对导入行的注释时出现错误,这给出了错误: import RNSimpleCompass from 'react-native-simple-compass';
null is not an Object (Evaluating 'RNSimpleCompass.start') 我基本上是使用提供的说明来安装库: npm install react-native-simple-compass --save 我也试着把它链接起来 npx react-
我正在使用原生react创建一个简单的移动应用程序。这个项目在模拟器上运行得很好,直到我添加了redux。我正在使用redux进行登录和注销;它实际上只是一个缩减程序和操作文件,用于在登录时将authedUser设置为注册用户名,在注销时设置为null。如果我在web浏览器上运行它,它可以正常工作,但不能在ios/android模拟器上运行。当通过react-native run-android在模拟器上运行时,我得到了上面的错误。当通过expo运行它时,我得到:不变冲突:“main”尚未注册。here is a screenshot of the error完全迷失了方向。有什么建议吗?
由于某些原因,我不能让顺风rn真正的风格我的程序。当我运行expo时,这些项目没有对齐到中心,即使我把它放在代码中。
import { StyleSheet, Text, View, Button } from 'react-native';
import {TailwindProvider} from 'tailwind-rn';
import utilities from './tailwind.json';
import {useTailwind} from 'tailwind-rn';
export default fu
我正在尝试使用expo安装一个react本机应用程序。我已经尝试了所有的更新包和更多以前的答案,但没有任何成功。但是,它失败了,并在web接口:An unexpected error has occurred.和控制台上给出了这个错误,它向我显示了以下错误信息:
ReferenceError: process is not defined
at Module.RNiq (index-1b0e10d3020a016605d2.js:1:237007)
at l (webpack-e067438c4cf4ef2ef178.js:1:563)
at index-1b0e10d
当我在终端上运行npm start时,我试图在我的visual studio代码上运行下面的代码,并在Expo客户端中得到下面的错误。 import { createStackNavigator, createAppContainer } from 'react-navigation';
import CategoriesScreen from '../screens/CategoriesScreen';
import CategoryItemsScreen from '../screens/CategoryItemsScreen';
co
当我使用react-native执行应用程序时,遇到了一个问题:
我正在使用create-react-native-app来创建我的应用程序,在我的智能手机上执行npm start命令并在expo中打开应用程序之后,我得到了这个错误。
错误:
There was an unhandled error: 19.0.0 is not a valid SDK version. Options are 18.0.0, 17.0.0, 16.0.0, 15.0.0, 14.0.0, 13.0.0, 12.0.0, 11.0.0, UNVERSIONED.
package.json:
{
"n
嗨,我一直在弹出这个错误:
_reactNavigationTabs.createBottomTapNavigator)...'):未定义不是函数(近‘.(0,TypeError)在node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException at node_modules/react-native/Libraries/Core/ExceptionsManager.js:172:19 in handleException at node_modules/react-nativ