Replies: 2 comments 4 replies
-
Global is not available during SSR so you'll need to check against that: https://www.gatsbyjs.com/docs/debugging-html-builds/ Maybe webpack also removed a polyfill for this, too: https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/#webpack-5-node-configuration-changed-nodefs-nodepath- |
Beta Was this translation helpful? Give feedback.
-
This error happens because of As @LekoArts has stated, this is because of the webpack configuration. I've tried adding the |
Beta Was this translation helpful? Give feedback.
-
Description
Hi, I am trying to connect my Gatsby app with Looker instance, and when I try to do that I get this error. I believe it has something to do with @looker/chatty package I am using but can't figure out why.
Expected result
It should connect my app to my Looker instance, instead, it gives me this error.
Environment
System:
OS: macOS 11.2.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.19.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 89.0.4389.90
Firefox: 85.0.1
Safari: 14.0.3
npmPackages:
gatsby: ^3.0.1 => 3.1.2
gatsby-plugin-create-client-paths: ^3.0.0 => 3.1.0
gatsby-plugin-gatsby-cloud: ^2.0.0 => 2.1.0
gatsby-plugin-google-fonts: ^1.0.1 => 1.0.1
gatsby-plugin-image: ^1.0.0 => 1.1.2
gatsby-plugin-manifest: ^3.0.0 => 3.1.0
gatsby-plugin-material-ui: ^2.1.10 => 2.1.10
gatsby-plugin-offline: ^4.0.0 => 4.1.0
gatsby-plugin-react-helmet: ^4.0.0 => 4.1.0
gatsby-plugin-sharp: ^3.0.0 => 3.1.2
gatsby-plugin-typescript: ^3.1.0 => 3.1.0
gatsby-source-filesystem: ^3.0.0 => 3.1.0
gatsby-transformer-sharp: ^3.0.0 => 3.1.0
npmGlobalPackages:
gatsby-cli: 3.0.0
Beta Was this translation helpful? Give feedback.
All reactions