Open jeffreys-cat opened 3 years ago
I met same error, "wait Rendering static HTML..." takes more than 10min, which may because travis-ci timeout with error:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
How to speed up this process? Or can we print some logs to avoid travis ci timeout?
顶不住, 我也是这个问题, 文章一多, 构建时间突然炸裂
我还碰到了这个 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
文章一多,我的还有内存溢出问题,不知从何下手怎么解决 Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
我也遇到此问题了,文章一多,就会出现如下问题,该如何解决? [BABEL] Note: The code generator has deoptimised the styling of ……\node_modules\@vuepress\core.temp\internal\siteData.js as it exceeds the max of 500KB.
治标不治本:层级过深,拍平即可
Bug report
Steps to reproduce
npm run install && npm run build
Here is a travis-ci example.
https://app.travis-ci.com/github/apache/incubator-doris/builds/236468019
What is expected?
I run npm run build and hope it can build done.
What is actually happening?
when I run
npm run build
, it just always showwait Rendering static HTML
, but nothing else, I don't know what happened. here is the picture. (I'm so sorry for my network, I just paste a text version)● Client █████████████████████████ emitting (95%) OptimizeCssAssetsWebpackPlugin ● Client █████████████████████████ after emitting (98%)
✔ Client Compiled successfully in 50.02s ✔ Server Compiled successfully in 41.65s [BABEL] Note: The code generator has deoptimised the styling of /Users/hujian05/Documents/code/incubator-doris/docs/.temp/internal/siteData.js as it exceeds the max of 500KB. [BABEL] Note: The code generator has deoptimised the styling of /Users/hujian05/Documents/code/incubator-doris/docs/.temp/internal/siteData.js as it exceeds the max of 500KB. wait Rendering static HTML...
Other relevant information
If I use the default command which is
npm run build
, it will show a GC error, I guess it doesn't have enough memories. so I use nodenode --max_old_space_size=8192 ./node_modules/vuepress/cli.js build
instead it. I think it doesn't matter with this problem.Output of
npx vuepress info
in my VuePress project: Environment Info:System: OS: macOS 11.4 CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz Binaries: Node: 10.23.0 - ~/.nvm/versions/node/v10.23.0/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.8 - ~/.nvm/versions/node/v10.23.0/bin/npm Browsers: Chrome: 92.0.4515.159 Edge: Not Found Firefox: 89.0 Safari: 14.1.1 npmPackages: @vuepress/core: 1.8.2 @vuepress/theme-default: 1.8.2 vuepress: ^1.3.1 => 1.8.2 npmGlobalPackages: vuepress: Not Found