EN
Gatsby - yarn develop: /snap/core/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
1
answers
6
points
After Ubuntu 20.04.1 upgrade I got following prolbem in gatsby project during running.
$ gatsby develop -p 8080 --host=0.0.0.0
success open and validate gatsby-configs - 0.064s
success load plugins - 0.269s
success onPreInit - 0.045s
success initialize cache - 0.023s
success copy gatsby files - 0.052s
success onPreBootstrap - 0.024s
success createSchemaCustomization - 0.001s
success Checking for changed pages - 0.000s
success source and transform nodes - 0.103s
success building schema - 0.400s
info Total nodes: 34, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.002s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.427s
success update schema - 0.230s
success write out redirect data - 0.003s
success Build manifest and related icons - 0.612s
success onPostBootstrap - 0.620s
info bootstrap finished - 4.623s
success onPreExtractQueries - 0.002s
success extract queries from components - 0.462s
success write out requires - 0.024s
success run page queries - 0.249s - 44/44 176.56/s
error Generating SSR bundle failed
/snap/core/current/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/john/Desktop/Projects/shop/node_modules/node-sass/vendor/linux-x64-72/binding.node)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
My GLIBC version is 2.31:
$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.1) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Any idea what happened?
1 answer
3
points
Remove node_modules/ directory and run yarn install before gatsby develop -p 8080 --host=0.0.0.0.
Console:
rm -rf node_modules/
yarn install
develop -p 8080 --host=0.0.0.0
0 comments
Add comment