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

Get stuck on "building static html for pages 0%" #38586

Open
2 tasks done
Rahees148 opened this issue Sep 28, 2023 · 0 comments
Open
2 tasks done

Get stuck on "building static html for pages 0%" #38586

Rahees148 opened this issue Sep 28, 2023 · 0 comments
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby

Comments

@Rahees148
Copy link

Rahees148 commented Sep 28, 2023

Preliminary Checks

Description

Gatsby build get stuck on HTML creation,

I m able to run the project locally but while building it gets stuck.

Reproduction Link

https://www.gatsbyjs.com/contributing/how-to-make-a-reproducible-test-case/

Steps to Reproduce

  1. yarn GATSBY_DISABLE_CACHE_PERSISTENCE=1 GATSBY_CPU_COUNT=2 NODE_OPTIONS=--max-old-space-size=11264 GATSBY_ACTIVE_ENV=staging gatsby build",

...

Expected Result

build complete successfully

Actual Result

forever proceeding the below:
Building static HTML for pages

Screenshot 2023-09-29 at 12 19 43 AM

Environment

System:
    OS: macOS 12.5
    CPU: (8) x64 Apple M2
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.20.0 - /var/folders/6s/39zpvbns7qsbrlq8mcf8840r0000gn/T/yarn
--1695917827235-0.7769874245451753/node
    Yarn: 1.22.10 - /var/folders/6s/39zpvbns7qsbrlq8mcf8840r0000gn/T/yarn
--1695917827235-0.7769874245451753/yarn
    npm: 6.14.17 - ~/.nvm/versions/node/v14.20.0/bin/npm
  Browsers:
    Chrome: 117.0.5938.92
    Safari: 15.6
  npmPackages:
    gatsby: ^4.18.0 => 4.18.0
    gatsby-background-image: ^1.6.0 => 1.6.0
    gatsby-plugin-baidu-tongji: ^2.0.0 => 2.0.0
    gatsby-plugin-canonical-urls: ^3.5.0 => 3.14.0
    gatsby-plugin-fontawesome-css: ^1.2.0 => 1.2.0
    gatsby-plugin-google-tagmanager: ^2.0.13 => 2.11.0
    gatsby-plugin-hubspot: ^1.3.4 => 1.3.8
    gatsby-plugin-image: ^2.17.0 => 2.18.0
    gatsby-plugin-manifest: ^4.17.0 => 4.18.0
    gatsby-plugin-material-ui: 2.1.9 => 2.1.9
    gatsby-plugin-mdx: ^3.20.0 => 3.20.0
    gatsby-plugin-no-sourcemaps: 4 => 4.25.0
    gatsby-plugin-portal: ^1.0.7 => 1.0.7
    gatsby-plugin-postcss: ^5.18.0 => 5.18.0
    gatsby-plugin-react-helmet: ^5.17.0 => 5.18.0
    gatsby-plugin-robots-txt: ^1.5.0 => 1.7.1
    gatsby-plugin-root-import: ^2.0.5 => 2.0.8
    gatsby-plugin-sass: ^5.18.0 => 5.18.0
    gatsby-plugin-sharp: ^4.17.0 => 4.18.0
    gatsby-plugin-sitemap: ^5.17.0 => 5.18.0
    gatsby-source-filesystem: ^4.17.0 => 4.18.0
    gatsby-source-strapi: ^2.0.0-beta.0 => 2.0.0
    gatsby-transformer-remark: ^5.17.0 => 5.18.0
    gatsby-transformer-sharp: ^4.17.0 => 4.18.0

Config Flags

flags: {
PARALLEL_QUERY_RUNNING: true,
PRESERVE_WEBPACK_CACHE: false,
PRESERVE_FILE_DOWNLOAD_CACHE: false,
DEV_SSR: true
},

@Rahees148 Rahees148 added the type: bug An issue or pull request relating to a bug in Gatsby label Sep 28, 2023
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

1 participant