Building JS and and CSS fails during deployment #25257
Labels
topic: webpack/babel
Webpack or babel
type: bug
An issue or pull request relating to a bug in Gatsby
Description
When I try to deploy my gatsby project to heroku after I didn't touch for a while, the deployment just keeps failing. It gets to building the JS and CSS but then runs into a bunch of errors. When I run
gatsby build
it finishes successfully.Steps to reproduce
Run
git push heroku master
on the repo.Expected result
JS and CSS building successfully.
Actual result
I'm getting this error:
Environment
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 13.12.0 - ~/.nvm/versions/node/v13.12.0/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - ~/.nvm/versions/node/v13.12.0/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 83.0.4103.106
Safari: 13.1
npmPackages:
gatsby: ^2.19.7 => 2.19.41
gatsby-background-image: ^0.10.2 => 0.10.2
gatsby-cli: ^2.10.9 => 2.11.1
gatsby-image: ^2.2.39 => 2.2.43
gatsby-plugin-env-variables: ^1.0.1 => 1.0.1
gatsby-plugin-google-analytics: ^2.2.2 => 2.2.2
gatsby-plugin-google-fonts: ^1.0.1 => 1.0.1
gatsby-plugin-manifest: ^2.2.39 => 2.2.47
gatsby-plugin-offline: ^3.0.32 => 3.0.40
gatsby-plugin-prefetch-google-fonts: ^1.4.3 => 1.4.3
gatsby-plugin-react-helmet: ^3.1.21 => 3.1.23
gatsby-plugin-robots-txt: ^1.5.0 => 1.5.0
gatsby-plugin-sass: ^2.1.30 => 2.1.30
gatsby-plugin-sharp: ^2.4.3 => 2.4.12
gatsby-plugin-sitemap: ^2.3.1 => 2.3.1
gatsby-plugin-transition-link: ^1.18.0 => 1.18.0
gatsby-source-filesystem: ^2.1.46 => 2.1.54
gatsby-transformer-sharp: ^2.3.13 => 2.3.18
The text was updated successfully, but these errors were encountered: