收藏
回答

编译时报错缺少必要CPU feature?

thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/Users/Desktop/client/src/app.config.js")'


Caused by:

    0: Failed to create plugin instance

    1: missing requires CPU features: "EnumSet(SSE2)"', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.237.1/src/plugin.rs:228:14

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Error: failed to handle: failed to invoke plugin: failed to invoke plugin on 'Some("/Users/Desktop/client/src/app.config.js")'

回答关注问题邀请回答
收藏

2 个回答

  • Demons
    Demons
    2022-12-26

    请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    2022-12-26
    有用
    回复
  • ༺ཌ༈H大仙༈ད༻ 🧟
    ༺ཌ༈H大仙༈ད༻ 🧟
    2023-04-27

    删除同目录下 .swc 文件夹即可 rm -rf .swc

    2023-04-27
    有用 5
    回复
登录 后发表内容