p5-server icon indicating copy to clipboard operation
p5-server copied to clipboard

`Failed to load resource: net::ERR_CONTENT_DECODING_FAILED` for `semantic.min.css` and `default.min.css`

Open connordelacruz opened this issue 1 year ago • 2 comments

I'm running into issues where stylesheets aren't able to be loaded from the CDNs. When running p5 serve --open, I get Failed to load resource: net::ERR_CONTENT_DECODING_FAILED for semantic.min.css. If I run it with --theme grid, I get the same error for semantic.min.css as well as default.min.css

sc 2024-01-03 at 1 45 02 PM sc 2024-01-03 at 1 45 19 PM

Functionally it appears to work fine, but with the missing styles it cuts off the display area when running a sketch 🙃

Let me know if there's any additional info I can provide that would be helpful. It's possible it's an issue on my end, but so far I haven't been able to figure it out. Thanks!

connordelacruz avatar Jan 03 '24 19:01 connordelacruz

Disabling proxy-cache with p5 serve --no-proxy-cache worked for me

drskullster avatar Jan 18 '25 11:01 drskullster

Thanks @connordelacruz for the informative bug report, and thanks @drskullster for the workaround. I'll take a look.

osteele avatar Feb 04 '25 09:02 osteele