Closed anitsh closed 4 years ago
Deacription: TypeError while building in Netlify
Details:
failed Building static HTML for pages - 6.986s 9:24:53 PM: 9:24:53 PM: error Building static HTML failed for path "/posts/website-with-gatsby" 9:24:53 PM: 9:24:53 PM: 9:24:53 PM: TypeError: Cannot read property 'white' of undefined 9:24:53 PM: 9:24:53 PM: - render-page.js:51975 ./src/components/LightDarkSwitcher/LightDarkSwitcher.ts x.p
Branch: https://github.com/codeanit-website/website/tree/bug%2310-TypeError_In_Netlify
Solution: Resolved by adding gatsby-ssr.js file.
Deacription: TypeError while building in Netlify
Details:
Branch: https://github.com/codeanit-website/website/tree/bug%2310-TypeError_In_Netlify
Solution: Resolved by adding gatsby-ssr.js file.