我已经安装了react-导航react-导航react-native-gesture handler我正在使用expo在xcode模拟器上运行应用程序
Accessing view manager configs directly off UIManager via UIManager['getConstants'] is no longer supported. Use UIManager.getViewManagerConfig('getConstants') instead.
- node_modules/expo/build/environment/mu
当我运行项目时,我已经在我的项目中实现了一个code push,它显示了下面的deprecation警告。
如何解决这个警告?
warn The following packages use deprecated "rnpm" config that will stop working from next release:
- react-native-code-push: https://microsoft.github.io/code-push
Please notify their maintainers about it. You can find more det
我正试图通过使用世博开发环境创建一个应用程序来学习react-原生的。在安装redux之前,我有一个工作应用程序(比expo附带的代码稍多一点)。目前,我从XDE中得到以下错误:
Problem checking node_modules dependencies: Unexpected end of JSON input
以下来自ios模拟器:
undefined is not an object (evaluating 'ReactPropTypes.string')
Package.json:
{
"name": "myApp",
Expo react-连接的iphone上无法加载原生应用程序
当我使用以下命令启动我的应用程序时:
expo start --tunnel
我得到以下错误:
Logs for your project will appear below. Press Ctrl+C to exit.
Unable to resolve "react-native-vector-icons/AntDesign" from
"node_modules/react-native-elements/src/helpers/getIconType.js"
Building JavaSc
我正在用expo构建一个应用程序。我想使用react导航,以便能够在屏幕之间导航。 但是我在安装这个包时遇到了问题。实际上,我尝试安装的每个包都有这个问题…… 通过运行安装脚本: npm安装--保存react-导航 我收到了以下警告,并且无法在项目中导入包: npm WARN expo-google-sign-in@2.0.0 requires a peer of react-native@^0.55.4 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-re
下面是我的App.js代码:
import { StatusBar } from 'expo-status-bar';
import 'react-native-gesture-handler';
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import Home from './Root/Home'
import Profile from './Root/Profile'
im
我试图设置一个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
我试图勾勒出导航器的轮廓,但获取导航道具时丢失了错误。我已经添加了所有需要的包,遵循Net Ninja的教程,它也成功地导入了来自‘./screen/ Home’的主页;已经空白了
import 'react-native-gesture-handler';
import React, {useState} from 'react';
import * as Font from 'expo-font';
import Home from './screens/home';
import { AppLoading } from
我已经安装了所有的依赖,但我仍然得到以下:使用Expo-CLI? Failed building JavaScript bundle.
Unable to resolve module @react-navigation/native from /home/jonteyh/React_Native/projects/MealsToGo/App.js: @react-navigation/native could not be found within the project or in these directories:
../../../node_modules/@react