-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RN ios. 启动报错 1: missing requires CPU features: "EnumSet(SSE2)" #13373
Comments
我也遇到了这个问题,有解吗 |
|
安装了最新的系统和 xcode ,依然是这个报错,有解吗? |
都是3.6.2才出现的吗? |
提供下可复现demo |
我用3.6.2新建一个工程测试是可以的,然后把原来的代码拷贝到新建的工程里解决了。我的m系列的mac 有问题,intel 的没什么问题。 |
找到问题了,因为 |
具体怎么解决的呢? |
删除 .swc,然后 gitignore 掉试试。如果提交到仓库,别人的 .swc 会导致本机报错 |
NB,谢谢大哥,解决我的问题了 |
Taro或者swc那边是不是应该在创建.swc文件夹时子包含一个.gitignore, 里面写 没做, 可能是考虑到有可能部分场景, 用户不希望ignore. |
在将数据从一台Intel Mac迁移到一台M1芯片的Mac后,我遇到了这个问题。由于所有生成的缓存文件都基于x86架构,清理存储库并删除我的 |
亲测有用 |
相关平台
React Native
使用框架: React
复现步骤
无
期望结果
可以正常运行
实际结果
无法运行
ransform[stderr]: thread '' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/Users/yunkai/Desktop/Project/loanCalculator/src/app.config.ts")'
transform[stderr]:
transform[stderr]: Caused by:
transform[stderr]: 0: Failed to create plugin instance
transform[stderr]: 1: missing requires CPU features: "EnumSet(SSE2)"
transform[stderr]: ', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.245.32/src/plugin.rs:228:14
transform[stderr]: note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceBUNDLE ./index
error: index.js: failed to handle: failed to invoke plugin: failed to invoke plugin on 'Some("/Users/yunkai/Desktop/Project/loanCalculator/src/app.config.ts")'
环境信息
The text was updated successfully, but these errors were encountered: