简体   繁体   English

我无法使用 expo 安装 react 导航(未安装 react-native-gesture-handler)

[英]I am unable to install react navigation using expo (react-native-gesture-handler isn't installed)

I'm following the steps in React Navigation to install it on an expo project, however it isn't working.我正在按照React Navigation 中的步骤将其安装在世博项目上,但它不起作用。

I am executing expo install react-navigation react-native-gesture-handler react-native-reanimated react-native-screens in Windows CMD but it isn't installing anything besides react-navigation:我正在 Windows CMD 中执行expo install react-navigation react-native-gesture-handler react-native-reanimated react-native-screens但它除了 react-navigation 没有安装任何东西:

在此处输入图片说明

如果你有最新的 expo 版本,那么你可以 expo init demoApp 命令然后你会被要求选择模板,选择标签模板,它将处理反应导航的所有依赖项,并为你提供一个启动应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 React Navigation:警告 react-native-gesture-handler - React Navigation: Warning react-native-gesture-handler 使用 react-native-gesture-handler 时出错 - Error when using react-native-gesture-handler 如何使用 react-native-gesture-handler 匹配孩子的大小 - How to match size to children using react-native-gesture-handler React Native:解决“react-native-gesture-handler” - React Native: resolve “react-native-gesture-handler” 无法打开/关闭抽屉布局 react-native-gesture-handler - Cannot Open/Close Drawer Layout react-native-gesture-handler 在 react-native-gesture-handler/Swipeable 如何向其添加 post API - In react-native-gesture-handler/Swipeable how to add post API to it react-native-gesture-handler 无法识别双击 - react-native-gesture-handler not recognize double tap 如何使用 React Navigation 6.x Native Stack Navigator (RN>0.6) 实现 React-native-gesture-handler? - How do you implement React-native-gesture-handler with React Navigation 6.x Native Stack Navigator (RN>0.6)? Position 在使用来自 react-native-gesture-handler 的 PanGestureHandler 时重置为 0 - Position resets to 0 while using PanGestureHandler from react-native-gesture-handler 来自 react-native 和 react-native-gesture-handler 的 Touchables 之间的区别 - Difference between Touchables from react-native and react-native-gesture-handler
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM