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

npm run build always log wait Rendering static HTML #2922

Open
1 task
jeffreys-cat opened this issue Aug 30, 2021 · 5 comments
Open
1 task

npm run build always log wait Rendering static HTML #2922

jeffreys-cat opened this issue Aug 30, 2021 · 5 comments

Comments

@jeffreys-cat
Copy link

jeffreys-cat commented Aug 30, 2021

  • I confirm that this is an issue rather than a question.

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 show wait 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 isnpm run build, it will show a GC error, I guess it doesn't have enough memories. so I use node node --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

@morningman
Copy link

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?

@xuoutput
Copy link

xuoutput commented Sep 2, 2021

顶不住, 我也是这个问题, 文章一多, 构建时间突然炸裂

我还碰到了这个
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

#966

@ghost
Copy link

ghost commented Sep 12, 2021

文章一多,我的还有内存溢出问题,不知从何下手怎么解决
Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

@MyAccGit
Copy link

MyAccGit commented Feb 15, 2022

我也遇到此问题了,文章一多,就会出现如下问题,该如何解决?
[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.

@13588936722
Copy link

治标不治本:层级过深,拍平即可

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

5 participants