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

PQR: Worker exited before finishing task #9

Open
overfullstack opened this issue Aug 13, 2023 · 1 comment
Open

PQR: Worker exited before finishing task #9

overfullstack opened this issue Aug 13, 2023 · 1 comment

Comments

@overfullstack
Copy link

overfullstack commented Aug 13, 2023

After I installed this plugin gatsby-remark-link-summary. I see it uses async/await internally: code ref

When I run Gatsby build, I see this error:

 AggregateError: 
  
  - deploy.ts:200 deployRemoteFile
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/deploy.ts:200:13
  
  - plugin.ts:131 
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/plugin.ts:131:17
  
  - gatsby-config.js:81 Object.generator
    /Users/gopala.akshintala/code-clones/my-github/overfullstack.github.io/gatsby-config.js:81:38
  
  - plugin.ts:193 
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/plugin.ts:193:29
  
  - async-visit.ts:29 visitRecursively
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/async-visit.ts:29:31
  
  - async-visit.ts:35 visitRecursively
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/async-visit.ts:35:5
  
  - async-visit.ts:35 visitRecursively
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/async-visit.ts:35:5
  
  - async-visit.ts:21 visit
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/async-visit.ts:21:3
  
  - plugin.ts:221 exports.default
    [overfullstack.github.io]/[gatsby-remark-link-summary]/src/plugin.ts:221:3
  
  - extend-node-type.js:245 parseString
    [overfullstack.github.io]/[gatsby-transformer-remark]/extend-node-type.js:245:11
  
  - extend-node-type.js:199 getAST
    [overfullstack.github.io]/[gatsby-transformer-remark]/extend-node-type.js:199:29
  
  - extend-node-type.js:371 getHTMLAst
    [overfullstack.github.io]/[gatsby-transformer-remark]/extend-node-type.js:371:21
  
  - extend-node-type.js:385 getHTML
    [overfullstack.github.io]/[gatsby-transformer-remark]/extend-node-type.js:385:21
  
  - async Promise.all
  
  - async Promise.all
  
  - graphql-runner.ts:255 GraphQLRunner.query
    [overfullstack.github.io]/[gatsby]/src/query/graphql-runner.ts:255:14
  


 ERROR #85928  GRAPHQL.QUERY_RUNNING

An error occurred during parallel query running.
Go here for troubleshooting tips: https://gatsby.dev/pqr-feedback



  Error: Worker exited before finishing task
  
  - index.js:205 ChildProcess.<anonymous>
    [overfullstack.github.io]/[gatsby-worker]/dist/index.js:205:41
  

not finished run queries in workers - 4.458s
not finished Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 3.901s

I tried with GATSBY_CPU_COUNT: 1, but got the same error. Interestingly, the gatsby build intermittently passes

Repo commit to reproduce: overfullstack/overfullstack.github.io@8d647ab

@overfullstack
Copy link
Author

Environment:

System:
    OS: macOS 13.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.volta/tools/image/node/18.16.0/bin/node
    Yarn: 4.0.0-rc.48 - ~/.volta/tools/image/yarn/4.0.0-rc.48/bin/yarn
    npm: 9.5.1 - ~/.volta/tools/image/node/18.16.0/bin/npm
  Languages:
    Python: 3.9.12 - /opt/miniconda3/bin/python
  Browsers:
    Safari: 16.6
  npmPackages:
    gatsby: ^5.11.0 => 5.11.0 
    gatsby-plugin-catch-links: ^5.11.0 => 5.11.0 
    gatsby-plugin-cname: ^1.0.0 => 1.0.0 
    gatsby-plugin-feed: ^5.11.0 => 5.11.0 
    gatsby-plugin-google-fonts: ^1.0.1 => 1.0.1 
    gatsby-plugin-google-gtag: ^5.11.0 => 5.11.0 
    gatsby-plugin-image: ^3.11.0 => 3.11.0 
    gatsby-plugin-mailchimp: ^5.2.2 => 5.2.2 
    gatsby-plugin-manifest: ^5.11.0 => 5.11.0 
    gatsby-plugin-offline: ^6.11.0 => 6.11.0 
    gatsby-plugin-react-helmet: ^6.11.0 => 6.11.0 
    gatsby-plugin-sass: ^6.11.0 => 6.11.0 
    gatsby-plugin-sharp: ^5.11.0 => 5.11.0 
    gatsby-remark-autolink-headers: ^6.11.0 => 6.11.0 
    gatsby-remark-code-titles: ^1.1.0 => 1.1.0 
    gatsby-remark-copy-linked-files: ^6.11.0 => 6.11.0 
    gatsby-remark-embed-gist: ^1.2.1 => 1.2.1 
    gatsby-remark-embed-markdown: ^0.0.4 => 0.0.4 
    gatsby-remark-embed-video: ^3.2.1 => 3.2.1 
    gatsby-remark-images: ^7.11.0 => 7.11.0 
    gatsby-remark-katex: ^7.11.0 => 7.11.0 
    gatsby-remark-link-summary: ^0.1.4 => 0.1.4 
    gatsby-remark-prismjs: ^7.11.0 => 7.11.0 
    gatsby-remark-smartypants: ^6.11.0 => 6.11.0 
    gatsby-source-filesystem: ^5.11.0 => 5.11.0 
    gatsby-transformer-asciidoc: ^4.11.0 => 4.11.0 
    gatsby-transformer-remark: ^6.11.0 => 6.11.0 
    gatsby-transformer-sharp: ^5.11.0 => 5.11.0

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

1 participant