[英]I want to start with react native without expo method.. i found this error
Try running your app with the yarn command, otherwise run npm-doctor to make sure all your packages are updated and fixed.尝试使用yarn命令运行您的应用程序,否则运行npm-doctor以确保您的所有软件包都已更新和修复。
otherwise try installing dependencies for expo using :否则,请尝试使用以下命令为 expo 安装依赖项:
npm install -g yarn
yarn add global react-native
yarn add global react-native-cli
react-native init sample
here's a quick link to the npm-doctor documentation:这是 npm-doctor 文档的快速链接:
Also here's some tutorial on running react-native app using yarn command:这里还有一些关于使用 yarn 命令运行 react-native 应用程序的教程:
I find this solution .. i just replace 6.2 with 6.3我找到了这个解决方案..我只是用 6.3 替换了 6.2
in android/gradle/ gradle-wrapper.properties在 android/gradle/gradle-wrapper.properties
distributionUrl=https://services.gradle.org/distributions/gradle-6.3-all.zip distributionUrl=https://services.gradle.org/distributions/gradle-6.3-all.zip
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.