I created a new project today and updated the Node.js version because it was a standalone Node app. After that, I tried to run another project (static one) that had already been created, and I started getting the following error:
"Cannot read properties of undefined (reading 'flush')"
The error comes from the file render/any.js:66:30.
The dependencies I’m using are:
{
"<@&1055234544183287879>/check": "^0.9.6",
"<@&1055234544183287879>/mdx": "^4.3.13",
"<@&1055234544183287879>/react": "^4.4.2",
"<@&1055234544183287879>/sitemap": "^3.6.0",
"<@&1055234544183287879>/tailwind": "^6.0.2",
"@nanostores/react": "^0.7.2",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"astro": "^5.16.6",
"atropos": "^2.0.2",
"clsx": "^2.1.1",
"framer-motion": "^11.3.8",
"nanostores": "^0.10.3",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"swiper": "^11.1.4",
"tailwind-merge": "^2.4.0",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5"
}
Does anyone have any idea what might have happened? I already tried to upgrade astro and react versions.