Error: Could not find source
context
#3654
Replies: 5 comments 1 reply
-
I'm having the same issue. This has been present since the beta versions. I am currently on |
Beta Was this translation helpful? Give feedback.
-
I got the error while proceeding on |
Beta Was this translation helpful? Give feedback.
-
I'm on |
Beta Was this translation helpful? Give feedback.
-
Same in I just migrated from v2 to sanity v3 and this is the only error stopping me from completing the migration. Has anyone managed to fix this? How? |
Beta Was this translation helpful? Give feedback.
-
What managed to fix this for me was deleting
Don't think that was it, but it was something suggested in other threads. |
Beta Was this translation helpful? Give feedback.
-
I just started to familiarise myself with the v3 of the studio, using typescript.
Unfortunately I'm running into issues trying to fetch data in my nextjs application, as the
useClient
hook gives me the following error:Error: Could not find
sourcecontext
. I'm afraid I'm missing something obvious here. Any pointers?The following code triggers the error:
const client = useClient().withConfig({apiVersion: '2021-10-21'})
I'm on 3.0.0-dev-preview.15
Beta Was this translation helpful? Give feedback.
All reactions