【问题标题】:Unable to resolve "../../App" from "node_modules\expo\AppEntry.js"?无法从“node_modules\expo\AppEntry.js”解析“../../App”?
【发布时间】:2020-09-08 10:05:23
【问题描述】:

我面临无法从“node_modules\expo\AppEntry.js”解析“../../App”?

我的项目有

"sdk Version": "38.0.0",
"expo": "^38.0.10",
"react-native": "0.59.10",


I am using react native version 0.59 and i have created app.json and put extensions in it as given in previous solutions but not working . Kindly help 

【问题讨论】:

  • 您的 AppEntry.js 看起来如何?还有你的 app.js 里面有什么
  • 我没有制作 App.js 我使用 screen.js 作为我的根文件
  • dude .. 给我看看你的 appEntry js 请编辑你的问题

标签: reactjs react-native expo native


【解决方案1】:

这似乎是 Metro 捆绑器问题。

https://github.com/GeekyAnts/vue-native-core/issues/117#issuecomment-520403713

这个这个。

【讨论】:

  • 不,我是通过创建 app.json 来完成的,还创建了 App entry.js,但什么也没发生。
猜你喜欢
  • 2021-02-21
  • 1970-01-01
  • 2021-03-07
  • 1970-01-01
  • 1970-01-01
  • 2022-09-27
  • 2022-10-26
  • 2017-10-13
  • 2023-01-31
相关资源
最近更新 更多