Storybook Stories Gotcha when Upgrading to JSS 21.2.1

We recently had to upgrade our solution to JSS 21.2.1 to fix a pesky NextJS Hydration issue. It was a little tedious, but once we spun up a new empty instance and compared our code, it was easy to spot the differences. One thing that changed rather drastically was the 404 page. This seems like…


Error: Cannot find module ‘./src/temp/config’ when running Storybook 7

Our development process with Next or JSS includes working with Storybook. First off, it’s pretty slick to be able to see all the components in one place, even outside Sitecore. Second, those fun mac folks aren’t going to be spinning up Windows containers in the near future, and they need to be able to see…


Connection to your rendering host failed with an Unauthorized error. Ensure the JSS Editing Secret is configured.

Edit: Soooo there is actually a great article on this, here: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables#environment-variable-load-order The long and short of my issue is that I was using ‘SITECORE_JSS_EDITING_SECRET’ when I should have been using ‘JSS_EDITING_SECRET’ I must have grabbed the environment variable from the docker-compose file, which will of course not match! Thanks to Rich Seal for having…


Roll Your own Translation Module with ChatGPT and Sitecore PowerShell Extensions

My dad always told me, “Be the change you want to see in the world” and “Stop leaving the door open, we’re not paying to cool the entire neighborhood.” Now, I can’t advise you on your electric bill, but I can share a little bit on how I stepped into a proof of concept for…


Experience Analytics and Experience Profile Won’t Load

I’ll lead this whole thing off with “Sometimes Rob sucks at reading documentation.” Now that we’ve gotten that out of the way, let’s talk about what’s been causing some heartburn. Here’s what we were seeing when we went into Experience Profile: And here’s what we see when we look at Experience Analytics: For SEO, I’m…


Failed to start entrypoint process. Error: 216

Ok, there’s a good chance you’re reading this because A) you saw it on twitter or B) you’ve been racking your brain for the past few days wondering what the hell is going on with your AKS Cluster. We rolled out a deployment last week and we noticed that all was not well. What wasn’t…


Using Solr Standalone for your Local

Sometimes I’m a smart guy. Then there’s other times. I’ll let you be the judge of which time that is. I’ve been doing docker for my local environment for a while. Enough to simplify the process and find something that works for me and for the dev team here. One of my devs, however has…


Cannot find module ‘react-dom/server’

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…


No Processes Listed when Debugging Docker Container

It’s no secret I’m a big fan of working with Docker on a local developer environment. The ability to quickly spin up a project and spin it down, the lack of 18 versions of solr running in conflict, the way docker just thrashes my concept of “I have plenty of Hard Drive to work”… It’s…


‘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>…