Closed jurryabbas-dev closed 3 years ago
Hi!
We're only actively supporting Gatsby v3 at the moment, so please give a reproduction with the latest version of all packages. Thanks!
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Gatsby community! 💪💜
Hi!
Since we didn't receive an answer for 7 days or more about the ask of a reproduction I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do answer here or open a new issue with a reproduction. Thanks!
i found the reason, because you passed the whole an object into gatsby "to" attr in . Gatsby's "to" attr in . can only be a string.
Preliminary Checks
Description
ERROR #95313
Building static HTML failed for path "/request-quote-thank-you/"
See our docs page for more info on this error: https://gatsby.dev/debug-html
62 | 63 | var isLocalLink = function isLocalLink(path) {
WebpackError: TypeError: path.startsWith is not a function
index.js:64 node_modules/gatsby-link/index.js:64:1
index.js:85 node_modules/gatsby-link/index.js:85:1
index.js:247 node_modules/gatsby-link/index.js:247:1
not finished Generating image thumbnails - 27.020s
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! gatsby-starter-default@0.1.0 build:
gatsby build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the gatsby-starter-default@0.1.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-08-30T07_56_18_861Z-debug.log root@gatsby:/home/projects/MortlockTimber# events.js:292 throw er; // Unhandled 'error' event ^
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed at process.target.send (internal/child_process.js:705:16) at reportSuccess (/home/projects/MortlockTimber/node_modules/jest-worker/build/workers/processChild.js:83:11) at tryCatcher (/home/projects/MortlockTimber/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:673:18) at MappingPromiseArray.PromiseArray._resolve (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise_array.js:127:19) at MappingPromiseArray._promiseFulfilled (/home/projects/MortlockTimber/node_modules/bluebird/js/release/map.js:108:18) at Promise._settlePromise (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:609:26) at Promise._settlePromise0 (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:729:18) at _drainQueueStep (/home/projects/MortlockTimber/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/home/projects/MortlockTimber/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/home/projects/MortlockTimber/node_modules/bluebird/js/release/async.js:102:5) Emitted 'error' event on process instance at: at internal/child_process.js:709:35 at processTicksAndRejections (internal/process/task_queues.js:75:11) { code: 'ERR_IPC_CHANNEL_CLOSED' }
Reproduction Link
https://github.com/jurryabbas-dev/mortlock-testcase
Steps to Reproduce
Expected Result
Build normally
Actual Result
ERROR #95313
Building static HTML failed for path "/request-quote-thank-you/"
See our docs page for more info on this error: https://gatsby.dev/debug-html
62 | 63 | var isLocalLink = function isLocalLink(path) {
WebpackError: TypeError: path.startsWith is not a function
index.js:64 node_modules/gatsby-link/index.js:64:1
index.js:85 node_modules/gatsby-link/index.js:85:1
index.js:247 node_modules/gatsby-link/index.js:247:1
not finished Generating image thumbnails - 27.020s
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! gatsby-starter-default@0.1.0 build:
gatsby build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the gatsby-starter-default@0.1.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-08-30T07_56_18_861Z-debug.log root@gatsby:/home/projects/MortlockTimber# events.js:292 throw er; // Unhandled 'error' event ^
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed at process.target.send (internal/child_process.js:705:16) at reportSuccess (/home/projects/MortlockTimber/node_modules/jest-worker/build/workers/processChild.js:83:11) at tryCatcher (/home/projects/MortlockTimber/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:673:18) at MappingPromiseArray.PromiseArray._resolve (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise_array.js:127:19) at MappingPromiseArray._promiseFulfilled (/home/projects/MortlockTimber/node_modules/bluebird/js/release/map.js:108:18) at Promise._settlePromise (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:609:26) at Promise._settlePromise0 (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/home/projects/MortlockTimber/node_modules/bluebird/js/release/promise.js:729:18) at _drainQueueStep (/home/projects/MortlockTimber/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/home/projects/MortlockTimber/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/home/projects/MortlockTimber/node_modules/bluebird/js/release/async.js:102:5) Emitted 'error' event on process instance at: at internal/child_process.js:709:35 at processTicksAndRejections (internal/process/task_queues.js:75:11) { code: 'ERR_IPC_CHANNEL_CLOSED' }
Environment
Config Flags
No response