Skip to content

使用cnpm run site打包时,程序一直卡着不动,npm/yarn run site也是一样的现象 #456

@twosoy

Description

@twosoy
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.3.3

Environment

windows10 node:v10.12.0 npm:6.4.1

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

1.从github上把ant-design-vue clone到本地

git clone https://github.com/vueComponent/ant-design-vue.git

2.npm install安装依赖

cnpm install


//安装完成后有一些警告信息

[4/4] scripts.postinstall webpack-cli@^3.2.1 finished in 173ms
√ Run 4 scripts
[npminstall:runscript] scripts.prepublish ant-design-vue@1.3.3 "node antd-tools/cli/run.js guard", root: "C:\\ant-design-vue"
antd-tools run guard
peerDependencies link ajv@5.5.2 in C:\ant-design-vue\node_modules\_ajv-keywords@2.1.1@ajv-keywords unmet with C:\ant-design-vue\node_modules\ajv(6.7.0)
deprecate babel-eslint@10.0.1 › eslint@4.19.1 › file-entry-cache@2.0.0 › flat-cache@1.3.4 › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor.
deprecate css-loader@0.28.11 › cssnano@3.10.0 › autoprefixer@6.7.7 › browserslist@^1.7.6 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
deprecate gulp@3.9.1 › gulp-util@^3.0.0 gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › graceful-fs@^3.0.0 please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › glob-stream@3.1.18 › minimatch@^2.0.1 Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › glob-watcher@0.0.6 › gaze@0.5.2 › globule@0.1.0 › minimatch@~0.2.11 Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › glob-watcher@0.0.6 › gaze@0.5.2 › globule@0.1.0 › glob@3.1.21 › graceful-fs@~1.2.0 please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
deprecate rucksack-css@1.0.2 › autoprefixer@7.2.6 › browserslist@^2.11.3 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
Recently updated (since 2019-01-22): 19 packages (detail see file C:\ant-design-vue\node_modules\.recently_updates.txt)
Today:
→ @vue/server-test-utils@1.0.0-beta.16 › cheerio@1.0.0-rc.2 › parse5@3.0.3 › @types/node@*(10.12.19) (08:38:08)
→ stylelint@9.6.0 › autoprefixer@^9.0.0(9.4.7) (04:11:34)
√ All packages installed (1604 packages installed from npm registry, used 1m(network 1m), speed 742.11kB/s, json 1357(2.76MB), tarball 42.5MB)


3.使用npm run site打包时,程序一直卡在create path: config-provider-cn,等了一个小时还没有反应。clone项目和安装依赖都很快。

cnpm run site

√ Webpack
Compiled successfully in 2.50m

###省略一些日志

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
56433840.async.js (407 KiB)
db884865.async.js (1.75 MiB)
index.bf5b95e4.css (581 KiB)
index.fcf65698.js (722 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
index (3.02 MiB)
55.6b91c069.css
db884865.async.js
index.bf5b95e4.css
index.fcf65698.js

###省略一些日志

create path: layout-cn
create path: form
create path: form-cn
create path: anchor
create path: anchor-cn
create path: list
create path: list-cn
create path: carousel
create path: carousel-cn
create path: drawer
create path: drawer-cn
create path: skeleton
create path: skeleton-cn
create path: comment
create path: comment-cn
create path: config-provider
create path: config-provider-cn
##输出到这里卡着不会动,一个多小时了还是没有反应

What is expected?

正常完成打包并退出

What is actually happening?

程序一直卡在:create path: config-provider-cn

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions