Created by: guoh1988
KubeSphere: 2.1.1
Kubernetes: 1.13.7
To Reproduce(复现步骤)
1.使用GitHub上前端代码编译替换之前的前端镜像发现
2.右下角工具箱有时候无法进入到终端,报错如下图
3.就算进入点击X按钮也无法退出,截图如下
4.编译的log
yarn run v1.19.1
$ rimraf dist
$ yarn build:client && yarn build:server
$ yarn lego && webpack -p --config scripts/webpack.prod.js --display errors-only
$ webpack -p --config scripts/webpack.lego.js
✔ success webpack compiled in 779ms
Hash: 0f19b80ca984b9617454
Version: webpack 4.30.0
Time: 788ms
Built at: 2019-12-10 07:51:11
Asset Size Chunks Chunk Names
lego.css 370 KiB 0 [emitted] [big] lego
lego.js 932 bytes 0 [emitted] lego
Entrypoint lego [big] = lego.css lego.js
[0] ./src/scss/lego.theme.scss 39 bytes {0} [built]
+ 1 hidden module
Child mini-css-extract-plugin node_modules/cache-loader/dist/cjs.js!node_modules/css-loader/index.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!node_modules/sass-loader/lib/loader.js!src/scss/lego.theme.scss:
Entrypoint mini-css-extract-plugin = *
[0] ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader??ref--4-2!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/lib/loader.js!./src/scss/lego.theme.scss 370 KiB {0} [built]
+ 1 hidden module
Happy[jsx]: Version: 5.0.1. Threads: 3
Happy[jsx]: All set; signaling webpack to proceed.
✔ success webpack compiled in 1m 24s 913ms
Webpack Bundle Analyzer saved report to /mnt/dist/report.html
SMP ⏱
General output time took 1 min, 32.53 secs
SMP ⏱ Plugins
WebpackBarPlugin took 17.026 secs
MiniCssExtractPlugin took 10.11 secs
OptimizeCssAssetsWebpackPlugin took 9.57 secs
BundleAnalyzerPlugin took 7.6 secs
CopyPlugin took 0.89 secs
ChunksRenamePlugin took 0.484 secs
DefinePlugin took 0.477 secs
HappyPlugin took 0.191 secs
SMP ⏱ Loaders
cache-loader took 1 min, 9.27 secs
module count = 3087
happypack took 1 min, 0.825 secs
module count = 1097
mini-css-extract-plugin, and
cache-loader, and
css-loader, and
postcss-loader, and
fast-sass-loader took 56.4 secs
module count = 491
cache-loader, and
css-loader, and
postcss-loader, and
fast-sass-loader took 51.55 secs
module count = 491
cache-loader, and
@svgr/webpack, and
url-loader took 4.53 secs
module count = 9
mini-css-extract-plugin, and
cache-loader, and
css-loader took 2.79 secs
module count = 3
modules with no loaders took 1.56 secs
module count = 5
cache-loader, and
css-loader took 1.4 secs
module count = 3
file-loader took 0.274 secs
module count = 18
$ webpack -p --config scripts/webpack.server.js --display errors-only
Done in 122.89s.