简体   繁体   English

反应原生 expo 不在模拟器中运行

[英]React native expo not running in Simulator

I am getting below error while running application in simulator.在模拟器中运行应用程序时出现以下错误。 I tried to restart server but not work for me我试图重新启动服务器但对我不起作用

I got the same issue, solved by below steps我遇到了同样的问题,通过以下步骤解决

  • Update expo version by npm install -g expo-cli通过npm install -g expo-cli更新 expo 版本
  • Restart server重启服务器
  • Run application运行应用程序

For me,为了我,

  1. Previous Expo version: 3.11.7以前的 Expo 版本: 3.11.7
  2. Updated Expo version: 3.18.0更新 Expo 版本: 3.18.0

Hope it helps希望能帮助到你

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM