摘要: 初始化一个expo项目时,报错illegal operation on a directory 解释:对目录的非法操作 emmm,貌似少了些啥。 反正,意思就是版本不兼容。 解决方案:执行命令: npm update expo 升级or降级expo版本即可。(额,,-……-!) 阅读全文
posted @ 2023-02-08 16:28 叶乘风 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 项目开发环境:windows 10 项目运行系统:Android 项目搭建前你得确保你有一个用于开发的IDE和已经安装好了的rn(react-native简称)脚手架,我是要用rn的脚手架来搭建项目的。 请分别执行以下代码: react-natvie init myApp --version 0.6 阅读全文
posted @ 2023-02-08 11:07 叶乘风 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 问题描述:Androidstudio初始化android项目,报错: Unrecognized Android Studio (or Android Support plugin for IntelliJ IDEA) version '202.7660.26.42.7486908', please 阅读全文
posted @ 2023-02-08 10:47 叶乘风 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 2023-02-08 cli.init is not a function 问题描述:初始化一个react-native项目,执行命令:react-native init xxx 或者是 npx react-native init xxx均报如下错误: TypeError: cli.init is not a function 报错原因:react-native版本不兼容这 阅读全文
posted @ 2023-02-08 10:18 叶乘风 阅读(382) 评论(0) 推荐(0) 编辑