Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in function useStaticQuery in ./.cache/static-query.js:83 #25

Open
ANONIMNIQ opened this issue May 11, 2024 · 2 comments
Open

Error in function useStaticQuery in ./.cache/static-query.js:83 #25

ANONIMNIQ opened this issue May 11, 2024 · 2 comments
Assignees

Comments

@ANONIMNIQ
Copy link

I try to run it locally and when I click on the post I created gives me this error:

`One unhandled runtime error found in your files. See the list below to fix it:

Error in function useStaticQuery in ./.cache/static-query.js:83
The result of this StaticQuery could not be fetched. This is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues`

@sudaraka94
Copy link
Owner

Hello, thanks for reporting this. I will take a look 🙌🏽

@sudaraka94
Copy link
Owner

Hello @ANONIMNIQ I wasn't really able to reproduce the issue on my setup. Can you mention the steps to reproduce? Otherwise you can simply try these conditions delete the ./.cache folder and try.
(gatsby clean command also does the same.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants