Closed yzalvov closed 5 years ago
I bet on gatsby-source-contentful, because when I change some content on Contentful's side, gatsby build
/ Building static HTML fails for a different path. But I haven't figured out how to find the source of the problem yet.
Any idea how to solve this error? I have almost exact same one.
Description
Plugins I use:
gatsby-source-contentful
(creating pages with createPages API),gatsby-plugin-material-ui
,gatsby-plugin-styled-components
gatsby develop
works fine. Please help.Steps to reproduce
gatsby build
fails with an errorExpected result
Successfully built project.
Actual result
Environment
System: OS: macOS 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz Shell: 3.2.57 - /bin/bash Binaries: Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node Yarn: 1.17.3 - /usr/local/bin/yarn npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm Languages: Python: 2.7.16 - /Library/Frameworks/Python.framework/Versions/2.7/bin/python Browsers: Chrome: 77.0.3865.90 Safari: 13.0.1 npmPackages: gatsby: ^2.7.1 => 2.13.50 gatsby-background-image: ^0.8.5 => 0.8.5 gatsby-image: ^2.1.1 => 2.1.1 gatsby-plugin-google-tagmanager: ^2.1.12 => 2.1.12 gatsby-plugin-manifest: ^2.1.1 => 2.2.4 gatsby-plugin-material-ui: latest => 2.1.6 gatsby-plugin-offline: ^2.1.1 => 2.1.1 gatsby-plugin-react-helmet: ^3.0.12 => 3.0.12 gatsby-plugin-remove-console: ^0.0.2 => 0.0.2 gatsby-plugin-sharp: ^2.1.1 => 2.1.1 gatsby-plugin-styled-components: ^3.1.5 => 3.1.5 gatsby-source-contentful: ^2.1.45 => 2.1.45 gatsby-source-filesystem: ^2.0.37 => 2.0.37 gatsby-transformer-sharp: ^2.1.19 => 2.1.19