I was working on a new project this week and starting with JSS 20. This wasn’t a NextJS project, unfortunately, so it was going to be a webpack kind of day. Make that two days. Ok, it was more..but whatever..read the post. Anywho, I popped open my server.bundle.js file, which had been deployed to my…
‘globalThis is not defined’ in JSS Site
We recently pushed out an update to our JSS project and were greeted with one of those “Well that’s fun, we’ve never seen that error before” moments. Here’s the entire text of the YSOD, for SEO purposes 😉 [NodeInvocationException: globalThis is not defined ReferenceError: globalThis is not defined at react.Component.react.Component.LayoutServiceBase (C:\home\site\wwwroot\dist\[SNIP]\server.bundle.js:76193:63) at C:\home\site\wwwroot\dist\[SNIP]\server.bundle.js:80869:3 at Object.<anonymous>…
-
Recent Posts
Categories
Archives
- March 2023
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- May 2022
- March 2022
- November 2021
- September 2021
- August 2021
- July 2021
- May 2021
- April 2021
- February 2021
- November 2020
- October 2020
- August 2020
- July 2020
- June 2020
- March 2020
- January 2020
- October 2019
- May 2019
- March 2019
- February 2019
- January 2019
- December 2018
- July 2018
- May 2018
- February 2018
- January 2018
- November 2017
- October 2017
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016