Skip to content

vue-cli-service build 执行时卡住 #5286

Closed
@blueskink

Description

@blueskink

Version

4.2.3

Environment info

vue info 同样无法执行
环境: docker 容器

Linux 3c44b9dfd301 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019 x86_64 GNU/Linux

google-chrome --version
Chromium 64.0.3282.119 built on Debian 9.3, running on Debian 9.4

Steps to reproduce

执行“npm run build”

What is expected?

正常执行

What is actually happening?

root@3c44b9dfd301:/source# npm run build

> [email protected] build /source
> vue-cli-service build
卡在此处

###问题定位:
因为在问题环境下“google-chrome --version”命令卡住(原因未知),导致“browsers.chrome = getLinuxAppVersion('google-chrome')”代码执行永久性阻塞。最终表现为所述问题。

root@3c44b9dfd301:/source# google-chrome --version                                                 
Chromium 64.0.3282.119 built on Debian 9.3, running on Debian 9.4
卡在此处,不退出

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions