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

Fix Build Failure on Master #459

Closed
wants to merge 3 commits into from

Conversation

pstaylor-patrick
Copy link

use gatsby 3.13.1 and webpack ^4.29.6
per issue #428 comment 962397694

use gatsby 3.13.1 and webpack ^4.29.6
per issue TryGhost#428 comment [962397694](TryGhost#428 (comment))
@pstaylor-patrick
Copy link
Author

pstaylor-patrick commented Dec 28, 2021

🙃🚫 https://app.netlify.com/sites/gatsby-starter-ghost/deploys/61cb3a627c00f30007658ae1#L148

10:27:46 AM: failed Building production JavaScript and CSS bundles - 23.941s
10:27:46 AM: error Generating JavaScript bundles failed
10:27:46 AM: /opt/build/repo/.cache/loader.js: Missing class properties transform.
10:27:46 AM:   101 |   }
10:27:46 AM:   102 |
10:27:46 AM: > 103 |   inFlightNetworkRequests = new Map()
10:27:46 AM:       |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10:27:46 AM:   104 |
10:27:46 AM:   105 |   memoizedGet(url) {
10:27:46 AM:   106 |     let inFlightPromise = this.inFlightNetworkRequests.get(url)
10:27:46 AM: ​
10:27:46 AM: ────────────────────────────────────────────────────────────────
10:27:46 AM:   "build.command" failed                                        
10:27:46 AM: ────────────────────────────────────────────────────────────────
10:27:46 AM: ​
10:27:46 AM:   Error message
10:27:46 AM:   Command failed with exit code 1: NODE_ENV=production gatsby build
10:27:46 AM: ​
10:27:46 AM:   Error location
10:27:46 AM:   In build.command from netlify.toml:
10:27:46 AM:   NODE_ENV=production gatsby build
10:27:46 AM: ​
10:27:46 AM:   Resolved config
10:27:46 AM:   build:
10:27:46 AM:     command: NODE_ENV=production gatsby build
10:27:46 AM:     commandOrigin: config
10:27:46 AM:     environment:
10:27:46 AM:       - AWS_LAMBDA_JS_RUNTIME
10:27:46 AM:       - REVIEW_ID
10:27:46 AM:       - SITEURL
10:27:46 AM:     publish: /opt/build/repo/public
10:27:46 AM:     publishOrigin: config

@pstaylor-patrick pstaylor-patrick changed the title Update package.json Fix Build Failure on Master Dec 28, 2021
@aileen
Copy link
Member

aileen commented May 30, 2022

Thanks for the PR. Going to close this as it should be fixed with #510

@aileen aileen closed this May 30, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants