You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
Hello everyone, I am having issues building my project, it runs fine with gatsby develop but fails with gatsby build, My initial failures were related to locomotive-scroll, I have since taken care of that with gatsby-config.js, however, I am having no luck with my build. Thanks in advance
This discussion was converted from issue #33725 on October 29, 2021 06:39.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Preliminary Checks
Description
Hello everyone, I am having issues building my project, it runs fine with gatsby develop but fails with gatsby build, My initial failures were related to locomotive-scroll, I have since taken care of that with gatsby-config.js, however, I am having no luck with my build. Thanks in advance
Reproduction Link
https://gatsby.dev/reproduction
Steps to Reproduce
...
Expected Result
This is my dependencies
"dependencies": {
"@ant-design/icons": "^4.0.5",
"firebase": "^8.6.5",
"framer-motion": "^4.1.17",
"gatsby": "^2.20.3",
"gatsby-plugin-less": "^3.1.1",
"gatsby-plugin-react-helmet": "^4.8.0",
"gatsby-plugin-sass": "^2.2.1",
"gsap": "^3.5.0",
"less": "^3.11.1",
"less-loader": "^5.0.0",
"locomotive-scroll": "^4.1.1",
"node-sass": "^4.13.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-feather": "^2.0.9",
"react-helmet": "^6.1.0",
"react-hook-form": "^6.12.1",
"react-intersection-observer": "^8.32.0",
"sweetalert2": "^10.10.4",
"sweetalert2-react-content": "^4.0.1"
},
Actual Result
Building static HTML failed for path "/404/"
See our docs page for more info on this error: https://gatsby.dev/debug-html
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full m
essage or use the non-minified dev environment for full errors and additional helpful warnings.
react-dom-server.node.production.min.js:48 a.b.render
[portfolio-v2]/[react-dom]/cjs/react-dom-server.node.production.min.js:48:37
react-dom-server.node.production.min.js:44 a.b.read
[portfolio-v2]/[react-dom]/cjs/react-dom-server.node.production.min.js:44:18
react-dom-server.node.production.min.js:54 renderToString
[portfolio-v2]/[react-dom]/cjs/react-dom-server.node.production.min.js:54:364
render-page.js:642 Module../.cache/static-entry.js.webpack_exports.default
/Users/mohamedmagan/root/portfolio-v2/public/render-page.js:642:28
render-html.js:30
[portfolio-v2]/[gatsby]/dist/utils/worker/render-html.js:30:36
debuggability.js:384 Promise._execute
[portfolio-v2]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[portfolio-v2]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[portfolio-v2]/[bluebird]/js/release/promise.js:103:10
render-html.js:28
[portfolio-v2]/[gatsby]/dist/utils/worker/render-html.js:28:47
util.js:16 tryCatcher
[portfolio-v2]/[bluebird]/js/release/util.js:16:23
map.js:68 MappingPromiseArray._promiseFulfilled
[portfolio-v2]/[bluebird]/js/release/map.js:68:38
promise_array.js:115 MappingPromiseArray.PromiseArray._iterate
[portfolio-v2]/[bluebird]/js/release/promise_array.js:115:31
promise_array.js:79 MappingPromiseArray.init
[portfolio-v2]/[bluebird]/js/release/promise_array.js:79:10
map.js:37 MappingPromiseArray._asyncInit
[portfolio-v2]/[bluebird]/js/release/map.js:37:10
async.js:97 _drainQueueStep
[portfolio-v2]/[bluebird]/js/release/async.js:97:12
async.js:86 _drainQueue
[portfolio-v2]/[bluebird]/js/release/async.js:86:9
Environment
Config Flags
PRESERVE_FILE_DOWNLOAD_CACHE: true,
DEV_WEBPACK_CACHE: true,
Beta Was this translation helpful? Give feedback.
All reactions