-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
F-reactFramework - ReactFramework - ReactT-rnTarget - 编译到 React NativeTarget - 编译到 React NativeV-4Version - 4.xVersion - 4.xbugSomething isn't workingSomething isn't working
Description
请先确认
- 我已搜索并确定这个提交不是重复的
Taro 版本
v4
相关领域
None
使用框架
React
相关平台
- 所有平台
- Web 端(H5)
- 移动端(React-Native)
- 鸿蒙(Harmony)
- 鸿蒙容器(Harmony Hybrid)
- ASCF 元服务
- 快应用(QuickApp)
- 所有小程序
- 微信小程序
- 企业微信小程序
- 京东小程序
- 百度小程序
- 支付宝小程序
- 支付宝 IOT 小程序
- 头条小程序
- QQ 小程序
- 钉钉小程序
- 飞书小程序
- 快手小程序
小程序基础库版本
No response
问题描述
expo官方已经有修复方案
Unable to resolve module ./.expo/.virtual-metro-entry from /Users/dl/Desktop/myProject/wk-qb-taro/.:
None of these files exist:
- .expo/.virtual-metro-entry(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.less|.native.less|.less|.ios.css|.native.css|.css|.ios.pcss|.native.pcss|.pcss|.ios.json|.native.json|.json|.ios.styl|.native.styl|.styl|.ios.cjs|.native.cjs|.cjs|.ios.svgx|.native.svgx|.svgx)
- .expo/.virtual-metro-entry
RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
__debug_main_executable_dylib_entry_point
start_sim
0x0
复现链接
你们自己的模板,请自己更新尝试
复现步骤
拉下gitub模板,1、npx expo prebuild 2. yarn ios
环境信息
Taro v4.1.6
Taro CLI 4.1.6 environment info:
System:
OS: macOS 15.3.2
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.14.0/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
npmPackages:
@tarojs/cli: 4.1.6 => 4.1.6
@tarojs/components: 4.1.6 => 4.1.6
@tarojs/components-rn: ^4.1.6 => 4.1.6
@tarojs/helper: 4.1.6 => 4.1.6
@tarojs/plugin-framework-react: 4.1.6 => 4.1.6
@tarojs/plugin-platform-alipay: 4.1.6 => 4.1.6
@tarojs/plugin-platform-h5: 4.1.6 => 4.1.6
@tarojs/plugin-platform-harmony-hybrid: 4.1.6 => 4.1.6
@tarojs/plugin-platform-jd: 4.1.6 => 4.1.6
@tarojs/plugin-platform-qq: 4.1.6 => 4.1.6
@tarojs/plugin-platform-swan: 4.1.6 => 4.1.6
@tarojs/plugin-platform-tt: 4.1.6 => 4.1.6
@tarojs/plugin-platform-weapp: 4.1.6 => 4.1.6
@tarojs/react: 4.1.6 => 4.1.6
@tarojs/rn-runner: ^4.1.6 => 4.1.6
@tarojs/rn-supporter: ^4.1.6 => 4.1.6
@tarojs/runtime: 4.1.6 => 4.1.6
@tarojs/runtime-rn: ^4.1.6 => 4.1.6
@tarojs/shared: 4.1.6 => 4.1.6
@tarojs/taro: 4.1.6 => 4.1.6
@tarojs/taro-rn: ^4.1.6 => 4.1.6
@tarojs/vite-runner: 4.1.6 => 4.1.6
babel-preset-taro: 4.1.6 => 4.1.6
eslint-config-taro: 4.1.6 => 4.1.6
expo: ~50.0.2 => 50.0.21
react: ^18.2.0 => 18.3.1
react-native: ^0.73.1 => 0.73.11
开源贡献
- 我愿意修复这个错误。请参考 (贡献指南)
Metadata
Metadata
Assignees
Labels
F-reactFramework - ReactFramework - ReactT-rnTarget - 编译到 React NativeTarget - 编译到 React NativeV-4Version - 4.xVersion - 4.xbugSomething isn't workingSomething isn't working