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

gridsome build stuck #1678

Open
jianchengwang opened this issue Feb 24, 2023 · 2 comments
Open

gridsome build stuck #1678

jianchengwang opened this issue Feb 24, 2023 · 2 comments

Comments

@jianchengwang
Copy link

hello guys,gridsome develop work fine for me, but gridsome build is stuck always and has no error message,

Compile assets - 38.71s
Execute GraphQL (113 queries) - 3.72s

how can I debug it

@ctrlouis
Copy link

Hello,

Which version of node / npm are you using ?

@jianchengwang
Copy link
Author

gridsome info

  System:
    OS: Windows 10 10.0.22000
    CPU: (8) x64 Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz
  Binaries:
    Node: 16.13.1 - D:\soft\nodejs\node.EXE
    Yarn: 1.22.5 - D:\soft\yarn\bin\yarn.CMD
    npm: 9.1.2 - D:\soft\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (110.0.1587.49)
  npmPackages:
    @gridsome/plugin-sitemap: ^0.4.0 => 0.4.0
    @gridsome/remark-prismjs: ^0.5.0 => 0.5.0
    @gridsome/source-filesystem: ^0.6.2 => 0.6.2
    @gridsome/transformer-remark: ^0.6.4 => 0.6.4
    @gridsome/vue-remark: ^0.2.6 => 0.2.6
    gridsome: ^0.7.23 => 0.7.23
    gridsome-plugin-tailwindcss2: ^3.0.1 => 3.0.1

but now I delete all markdown content and fetch the content from the remote repository on the detail page, it builds fast

Compile assets - 5.62s
Execute GraphQL (113 queries) - 0.1s
Render HTML (113 files) - 0.78s
Process files (0 files) - 0s
Process images (5 images) - 0.71s
Generate /sitemap.xml (112 pages)

so I think maybe markdown content is key to why builds very slowly and then stuck。 I have 60 markdown files, and each markdown file content maybe 4000 - 20000 character

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

2 participants