reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
216 stars 327 forks source link

react-native 首次运行时报错 #707

Closed huaicui-qulinjian closed 8 months ago

huaicui-qulinjian commented 1 year ago

模拟器,安卓环境等均已安装正确。 0.64.4 和 0.63.5均报错 error: TypeError: Cannot read properties of undefined (reading 'transformFile') at D:\wamp\wamp\www\Pro\n\money\node_modules\metro\src\Bundler.js:91:34 at Generator.next () at asyncGeneratorStep (D:\wamp\wamp\www\Pro\n\money\node_modules\metro\src\Bundler.js:14:24) at _next (D:\wamp\wamp\www\Pro\n\money\node_modules\metro\src\Bundler.js:34:9) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 网上搜索无解。求助

GN-L commented 1 year ago

我也遇到同样的问题 真是无语了 我是Mac M2芯片 , 捣鼓两天了 , 各种看文档,百度都不行, 这啥玩意儿 , 感觉很坑啊

GN-L commented 1 year ago

兄弟,你解决这个问题了吗

cw0121 commented 1 year ago

我也是m2芯片,老项目启动失败,楼上的兄弟你的问题解决了么

liuhm0284 commented 11 months ago

我直接打包可以,但是想运行到安卓设备上就直接卡在99%,看项目文件里apk文件已经生成了。。我就很郁闷,还有用as的模拟器,总是说我的 Your CPU does not support VT-x ,去除X86 intel支持都不得行,现在只能用ios的机器或者模拟器测试,好郁闷啊。

cw0121 commented 11 months ago

我在windows电脑上用mumu 模拟器测试了是好用的,发现问题出在我从远程仓库拉取代码的时候却少了一部分,后来又重新拉取的,现在可以运行了

------------------ 原始邮件 ------------------ 发件人: 刘老根丶丶 @.> 发送时间: 2023年7月25日 18:40 收件人: reactnativecn/react-native-website @.> 抄送: cw0121 @.>, Comment @.> 主题: Re: [reactnativecn/react-native-website] react-native 首次运行时报错 (Issue #707)

我直接打包可以,但是想运行到安卓设备上就直接卡在99%,看项目文件里apk文件已经生成了。。我就很郁闷,还有用as的模拟器,总是说我的 Your CPU does not support VT-x ,去除X86 intel支持都不得行,现在只能用ios的机器或者模拟器测试,好郁闷啊。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

github-actions[bot] commented 8 months ago

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 8 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.