Skip to content
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

Command failed with signal "SIGSEGV". #13563

Closed
Jonesy-1212 opened this issue Apr 3, 2023 · 7 comments
Closed

Command failed with signal "SIGSEGV". #13563

Jonesy-1212 opened this issue Apr 3, 2023 · 7 comments
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@Jonesy-1212
Copy link

相关平台

H5

浏览器版本: Chrome 111.0.5563.64
使用框架: React

复现步骤

使用taro init 创建项目 执行yarn dev:h5报错

期望结果

正常编译

实际结果

编译失败

环境信息

Taro v3.6.2


  Taro CLI 3.6.2 environment info:
    System:
      OS: macOS 12.6.1
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.5.0 - ~/.nvm/versions/node/v16.5.0/bin/node
      Yarn: 1.22.19 - ~/.nvm/versions/node/v16.5.0/bin/yarn
      npm: 7.19.1 - ~/.nvm/versions/node/v16.5.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.2 => 3.6.2 
      @tarojs/components: 3.6.2 => 3.6.2 
      @tarojs/helper: 3.6.2 => 3.6.2 
      @tarojs/plugin-framework-react: 3.6.2 => 3.6.2 
      @tarojs/plugin-platform-alipay: 3.6.2 => 3.6.2 
      @tarojs/plugin-platform-h5: 3.6.2 => 3.6.2 
      @tarojs/plugin-platform-jd: 3.6.2 => 3.6.2 
      @tarojs/plugin-platform-qq: 3.6.2 => 3.6.2 
      @tarojs/plugin-platform-swan: 3.6.2 => 3.6.2 
      @tarojs/plugin-platform-tt: 3.6.2 => 3.6.2 
      @tarojs/plugin-platform-weapp: 3.6.2 => 3.6.2 
      @tarojs/react: 3.6.2 => 3.6.2 
      @tarojs/runtime: 3.6.2 => 3.6.2 
      @tarojs/shared: 3.6.2 => 3.6.2 
      @tarojs/taro: 3.6.2 => 3.6.2 
      @tarojs/webpack5-runner: 3.6.2 => 3.6.2 
      babel-preset-taro: 3.6.2 => 3.6.2 
      eslint-config-taro: 3.6.2 => 3.6.2 
      react: ^18.0.0 => 18.2.0 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Apr 3, 2023
@JamesMonges
Copy link

我也遇到了这个问题

@Chen-jj
Copy link
Contributor

Chen-jj commented Apr 4, 2023

duplicate #13564

@Chen-jj Chen-jj closed this as completed Apr 4, 2023
@parabolazz
Copy link

我也碰到了这个问题。。。

@LovesLolita
Copy link

这个是之前的问题
image

Taro 使用的 @swc/core 升级到 1.3.44 后导致的问题,可以先暂时通过以下的方式解决:

删除项目根目录下的 .swc 文件。
在项目根目录下的 package.json 文件下,与 devDependencies 同级属性下添加 resolutions 配置,锁定 @swc/core 使用的版本:

"resolutions": {
    "@swc/core": "1.3.42"
  },
  "overrides": {
    "@swc/core": "1.3.42"
  }

删除 node_modules,使用 yarn 或 pnpm 重新安装依赖。
重新执行 yarn dev:weapp

@LovesLolita
Copy link

只有3.6.2出现这问题,最新的3.6.4已经修复了吧

@JamesMonges
Copy link

只有3.6.2出现这问题,最新的3.6.4已经修复了吧

原来如此,谢谢!!!

@parabolazz
Copy link

我也碰到了这个问题。。。

升级到3.6.4确实解决了

@ZakaryCode ZakaryCode moved this to Padding in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
@ZakaryCode ZakaryCode moved this from Padding to Done in H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

5 participants