简体   繁体   English

构建 android 反应原生:找不到模块'expo/tools/LogReporter'

[英]Build android react native : Cannot find module 'expo/tools/LogReporter'

I have a problem when build android with react native.使用本机反应构建 android 时遇到问题。

I got message error Cannot find module 'expo/tools/LogReporter' I have try any solution in SO and Google, but that's not work for me.我收到消息错误Cannot find module 'expo/tools/LogReporter'我已经尝试了 SO 和 Google 中的任何解决方案,但这对我不起作用。

I have try delete node_modules and reinstall npm install but not work.我尝试删除node_modules并重新安装npm install但不起作用。

I don't know again, how it cannot work for me.我又不知道,它怎么不能为我工作。

If you use expo lates version u must downgrade that with如果您使用 expo 最新版本,您必须使用

npm install -g expo-cli@2.4.3

then again try that must work然后再试一次,必须有效

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

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