evidence icon indicating copy to clipboard operation
evidence copied to clipboard

[Bug]: GET http://localhost:3000/api/.../all-queries.json 404 (Not Found)

Open archiewood opened this issue 1 year ago • 3 comments

Describe the bug

This is fired in the broswer when developing locally. Appears to be erroneous log.

Should hide this as it is confusing.

Steps to Reproduce

npm run dev

archiewood avatar Nov 18 '24 19:11 archiewood

I've also spotted this on popping up on a compiled build

pax avatar Nov 22 '24 12:11 pax

Any clue what's going on here? I tried to reset things back to the version that is deployed, but I'm still getting this locally, with a blank screen. Failed to load resource: the server responded with a status of 404 (Not Found); [HMR][Svelte] - Unrecoverable HMR error in <+layout>: next update will trigger a full reload; Unhandled Promise Rejection: SyntaxError: JSON Parse error: Unexpected identifier 'light'

(That first one is that http://localhost:3000/api/.../all-queries.json.)

forresto avatar Mar 17 '25 12:03 forresto

This error in this issue is generally not important in the sense that it does not prevent sites from working.

I suspect your issue is to do with the JSON parse error listed in your screenshot below. It is caused by a change in the expected structure of the "theme" data between versions

A good first step is to clear the local storage in your browser dev tools, which caches this theme values

archiewood avatar Mar 17 '25 12:03 archiewood