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

build:h5 进程不会结束,编译后会永久的显示loading #4533

Closed
WangShuXian6 opened this issue Sep 25, 2019 · 5 comments
Closed

build:h5 进程不会结束,编译后会永久的显示loading #4533

WangShuXian6 opened this issue Sep 25, 2019 · 5 comments
Assignees

Comments

@WangShuXian6
Copy link

问题描述

运行以下命令后,文件编译完成后命令不会结束,会永久的显示loading

npm run build:h5

复现步骤

npm run build:h5

期望行为

运行 npm run build:h5 后编译文件完成时,命令可以正常结束

报错信息

在 gitlab 流水线上运行npm run build:h5 结果,卡住,无法进行下一步的部署操作

image

在 vscode 上运行npm run build:h5 结果,卡住,需要手动执行 ctrl+z

image

执行 ctrl+z 后,build:h5 命令才结束

image

系统信息

Taro v1.3.15


  Taro CLI 1.3.15 environment info:
    System:
      OS: macOS 10.14.5
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.3 - /usr/local/bin/node
      npm: 6.4.1 - /usr/local/bin/npm
    npmPackages:
      @tarojs/async-await: 1.3.15 => 1.3.15 
      @tarojs/cli: ^1.3.19 => 1.3.19 
      @tarojs/components: 1.3.15 => 1.3.15 
      @tarojs/plugin-babel: 1.3.15 => 1.3.15 
      @tarojs/plugin-csso: 1.3.15 => 1.3.15 
      @tarojs/plugin-less: 1.3.15 => 1.3.15 
      @tarojs/plugin-uglifyjs: 1.3.15 => 1.3.15 
      @tarojs/redux: 1.3.15 => 1.3.15 
      @tarojs/redux-h5: 1.3.15 => 1.3.15 
      @tarojs/router: 1.3.15 => 1.3.15 
      @tarojs/taro: 1.3.15 => 1.3.15 
      @tarojs/taro-alipay: 1.3.15 => 1.3.15 
      @tarojs/taro-h5: 1.3.15 => 1.3.15 
      @tarojs/taro-swan: 1.3.15 => 1.3.15 
      @tarojs/taro-tt: 1.3.15 => 1.3.15 
      @tarojs/taro-weapp: 1.3.15 => 1.3.15 
      @tarojs/webpack-runner: 1.3.15 => 1.3.15 
      eslint-config-taro: 1.3.15 => 1.3.15 
      eslint-plugin-taro: 1.3.15 => 1.3.15 
      nerv-devtools: ^1.4.0 => 1.4.4 
      nervjs: ^1.4.0 => 1.4.4 
      stylelint-config-taro-rn: 1.3.15 => 1.3.15 
      stylelint-taro-rn: 1.3.15 => 1.3.15 

补充信息

build 命令没有返回

@taro-bot
Copy link

taro-bot bot commented Sep 25, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@taro-bot
Copy link

taro-bot bot commented Oct 8, 2019

CC @Littly

@Littly
Copy link
Contributor

Littly commented Oct 16, 2019

需要复现的仓库

@taro-bot
Copy link

taro-bot bot commented Oct 16, 2019

Hello~

您的问题我们无法复现。如果有空的话还请拔冗提供一个简单的复现 demo,否则这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

@WangShuXian6
Copy link
Author

升级到 taro 1.3.19 这个问题解决了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants