Closed scinos closed 1 year ago
Hhmm, I'm a bit lost.
I can reproduce the issue with your repo if I downgrade from 2.0.1 to 2.0.0.
I managed to "fix" the error, but it required me disabling the eleventy-plugin-react-ssr
plugin. So it might be related to that plugin+JSX, although odd that it worked in 2.0.0 and broke in a patch release. But it's also possible there's an incompatibility with the plugin and something in 2.0.1 changes.
Not sure if you can try a different JSX engine plugin, but https://www.npmjs.com/package/eleventy-plugin-jsx looks pretty stale. Looking at https://www.11ty.dev/docs/plugins/ it seems like your react-ssr plugin was the only one mentioning "react" though.
You are right, it was eleventy-plugin-react-ssr
🤦🏼 . Fixed in 1.0.3 in case anybody else is interested.
What I still don't get is why this was working with Eleventy 2.0.0. I'm very positive it worked, because I have an online blog with eleventy 2.0.0 + eleventy-plugin-react-ssr
. Given this was related to reseting request cache, maybe it is not deterministic? I don't know.
Anyway, thanks for your help @pdehaan. This is fixed now.
Operating system
macOS 12.6
Eleventy
2.0.1
Describe the bug
I get these errors:
The template that throws those errors is:
This was working with Eleventy 2.0.0, it started to fail after the update to 2.0.1.
The relevant part of the DEBUG logs is:
Reproduction URL
https://github.com/scinos/scinos-blog-11ty/pull/25
Checkout, run
yarn && yarn build
.Screenshots
No response