Callback already called
See original GitHub issueDescription
I cannot build my gatsby page. I get:
$ yarn build
yarn run v1.22.4
$ gatsby build
success open and validate gatsby-configs - 0.082s
success load plugins - 3.474s
success onPreInit - 0.055s
success delete html and css files from previous builds - 0.015s
success initialize cache - 0.018s
success copy gatsby files - 0.024s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.009s
success Checking for changed pages - 0.002s
success source and transform nodes - 0.200s
success building schema - 0.290s
success createPages - 0.003s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.189s
success update schema - 0.042s
success onPreExtractQueries - 0.003s
success extract queries from components - 0.716s
success write out redirect data - 0.002s
success Build manifest and related icons - 0.002s
success onPostBootstrap - 0.009s
info bootstrap finished - 7.387s
success run static queries - 0.213s - 2/2 9.40/s
success run page queries - 0.108s - 17/17 157.18/s
success write out requires - 0.038s
⠸ Building production JavaScript and CSS bundles
[================== ] 4.539 s 25/38 66% Generating image thumbnails
/home/levin/coding/hardfork/homepage/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
Error: Callback was already called.
at throwError (/home/levin/coding/hardfork/homepage/node_modules/neo-async/async.js:16:11)
at /home/levin/coding/hardfork/homepage/node_modules/neo-async/async.js:2818:7
at processTicksAndRejections (internal/process/task_queues.js:79:11)
IMPORTANT: The process does not even stop (exit with 1) but it just continues and hangs forever.
Steps to reproduce
Check this out and try to build.
Expected result
Page should build without error.
Actual result
Thread hangs (does not stop) shows above error message.
Environment
$ yarn gatsby info --clipboard
yarn run v1.22.4
$ /home/levin/coding/hardfork/homepage/node_modules/.bin/gatsby info --clipboard
System:
OS: Linux 4.15 Ubuntu 18.04.4 LTS (Bionic Beaver)
CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 12.18.2 - /tmp/yarn--1597315685939-0.638949369043861/node
Yarn: 1.22.4 - /tmp/yarn--1597315685939-0.638949369043861/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v12.18.2/bin/npm
Languages:
Python: 2.7.17 - /usr/bin/python
Browsers:
Chrome: 84.0.4147.89
Firefox: 79.0
npmPackages:
gatsby: ^2.24.32 => 2.24.47
gatsby-image: ^2.2.39 => 2.4.16
gatsby-plugin-catch-links: ^2.1.17 => 2.3.11
gatsby-plugin-google-tagmanager: ^2.1.15 => 2.3.11
gatsby-plugin-i18n: ^1.0.1 => 1.0.1
gatsby-plugin-load-script: ^1.0.6 => 1.1.0
gatsby-plugin-manifest: ^2.2.23 => 2.4.23
gatsby-plugin-netlify: ^2.1.22 => 2.3.13
gatsby-plugin-netlify-cache: ^1.2.0 => 1.2.0
gatsby-plugin-netlify-cms: ^4 => 4.3.11
gatsby-plugin-nprogress: ^2.1.12 => 2.3.10
gatsby-plugin-react-helmet: ^3.1.13 => 3.3.10
gatsby-plugin-react-svg: ^3.0.0 => 3.0.0
gatsby-plugin-remove-serviceworker: ^1.0.0 => 1.0.0
gatsby-plugin-robots-txt: ^1.5.0 => 1.5.1
gatsby-plugin-sass: ^2.1.20 => 2.3.12
gatsby-plugin-sharp: ^2.2.32 => 2.6.27
gatsby-plugin-sitemap: ^2.2.19 => 2.4.11
gatsby-plugin-typescript: ^2.1.15 => 2.4.18
gatsby-source-filesystem: ^2.1.33 => 2.3.24
gatsby-transformer-sharp: ^2.3.0 => 2.5.13
Done in 1.53s.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Callback was already called async parallel - Stack Overflow
Hi I am trying to use the Async module to retrieve two users and do some processing after they have both been retrieved...
Read more >Error "Callback was already called." even when was not called.
Error "Callback was already called." occurs when is no callback called. Look at my code, it looks like some overloading issue.
Read more >Solved: CCL1043: Error when launching development server '...
CCL1043: Error when launching development server 'Callback was already called.' Go to solution.
Read more >Uncaught Error: Callback was already called in mocha
One issue is that you pass a constructor argument ( Hi there! ), but your contract doesn't take any constructor arguments, so this...
Read more >Callback already called error while running async.until with ...
Hi, Having an issue running processMessage in an infinite loop. Keeps failing on the 2nd run through processMessage saying Error:Callback is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@marharyta yeah. I’ve stopped use Gatsby 😄
I was able to fix it for my project. The important thing is that you have to avoid 2 different installed versions of
mini-css-extract-plugin
.