NuxtN
Nuxt14mo ago
Xulo

Sanity Navigation Error: TypeError: can't access property

Hi! I'm using Sanity in my project but I'm facing an issue with navigation.

When selecting a project I initially get an error:
Uncaught (in promise) TypeError: can't access property 0, $setup.project is null
. However clicking the project again successfully navigates to it

On the project page I am completely stuck and can't navigate the same error appears in console and I need to do a hard refresh to proceed. I'm using a simple groq query.

Also there is a
Could not access sanity
warning. I'm just using the default config

Does anyone know what might be causing this?

Thanks in advance!
image.png
image.png
image.png
image.png
image.png
Was this page helpful?