I'm not able to make View Transitions work on dev mode, but when I build it, it works perfectly fine.
I've got this console log error when I'm in dev mode: Uncaught ReferenceError: EXPERIMENTAL_CLIENT_PRERENDER is not defined at index.js?v=d51dac87:7:23.
I've tried everything I can to solve this but I'm not able to solve it by myself.
This is what I tried doing:
- Used different node and npm versions.
- Cloned a repository that uses View Transitions perfectly and throws the same error on dev mode.
- Created a brand-new Astro project to isolate the problem.
- Deleted node_modules and package-lock files, reinstalled dependencies with npm install.
- Disabled browser extensions and tested on different browsers.
- Inspected build logs and successful deployments on Netlify to determine compatible Node.js versions.
You can checkout my repository for more context:
https://github.com/jcrrodriguez/Test
This is the netlify page:
https://master--effervescent-meringue-1a278e.netlify.app/