Running Gatsby build gives Error: 856328897 TypeError: promise.finally is not a function
See original GitHub issueDescription
When I run gatsby build
or npm install
I get the error Error: 856328897 TypeError: promise.finally is not a function
Steps to reproduce
I was getting missing images when deploying to netlify so I cleaned my local install then started getting these errors when I runnpm install
or gatsby build
- https://github.com/payello/suggestions-2020 this is my repo.
How to Make a Minimal Reproduction: https://www.gatsbyjs.org/contributing/how-to-make-a-reproducible-test-case/
Expected result
What should happen? The files should build as usual
Actual result
What happened.
Environment
Run gatsby info --clipboard
in your project directory and paste the output here.
System: OS: macOS 10.15.4 CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz Shell: 3.2.57 - /bin/bash Binaries: Node: 12.13.0 - /usr/local/bin/node Yarn: 1.21.1 - /usr/local/bin/yarn npm: 6.12.0 - /usr/local/bin/npm Languages: Python: 2.7.12 - /Library/Frameworks/Python.framework/Versions/2.7/bin/python Browsers: Chrome: 81.0.4044.122 Firefox: 75.0 Safari: 13.1 npmPackages: gatsby: ^2.19.7 => 2.21.0 gatsby-image: ^2.2.39 => 2.4.0 gatsby-plugin-manifest: ^2.2.39 => 2.4.0 gatsby-plugin-offline: ^3.0.32 => 3.2.0 gatsby-plugin-react-helmet: ^3.1.21 => 3.3.0 gatsby-plugin-sharp: ^2.4.3 => 2.6.0 gatsby-plugin-styled-components: ^3.2.1 => 3.3.0 gatsby-source-contentful: ^2.2.7 => 2.3.0 gatsby-source-filesystem: ^2.1.46 => 2.3.0 gatsby-transformer-sharp: ^2.3.13 => 2.5.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:25 (11 by maintainers)
Top GitHub Comments
Reverted to
2.20.28
and it fixed my issue as well.I ran into the same issue and had to revert my gatsby package to
2.20.28
. Everything works as expected for me with that version. There was a ‘promise.finally’ added to 'packages/gatsby/src/query/query-runner.js` in version 2.20.29 (4-22). I believe that was the issue for me.