Hello everyone,
I am facing the following super wierd error:
error Cannot read properties of null (reading 'default')
File:
/Users/me/Dev/Ruxiom/astro_blog/src/pages/index.astro:1:1
Code:
> 1 | ---
| ^
2 | import BaseLayout from "@layouts/BaseLayout.astro";
4 | import Landing from "@components/Landing.astro";
Stacktrace:
TypeError: Cannot read properties of null (reading 'default')
The only thing I changed is that I created an Layout (named BaseLayout) in src/layouts/BaseLayout.astro because our blog our site is needing some extra pages, so that I dont have to copy and paste that often.
Does anybody have a clue what could be happening here, as the error does not say me anything.
I am on astro 3.1.0.
Thanks in advance,
David
already restarted TS, IDE and reloaded Astro projects