Skip to main content


I was having issues with #Jellyfin. It ran, but the web interface wouldn't move beyond the splash screen due to syntax errors in the node.js files.

Scrubbed my install, installed fresh. Same errors.

@tek helpfully suggested I run Prettier (prettier.io) on the files to help me find the errors. Prettier re-formats code using consistent style guidelines, and works especially well on 655k, single-line JS files.

Restarting Jellyfin when Prettier finished fixed it.

This entry was edited (2 days ago)
in reply to The Embodiment of RED

Glad that helped! I was hoping it'd just help you find the error, not actually fix it. 😀
in reply to Tekniquelly correct

Right? That it DID somehow fix it is ... unexpected? I also thought "it'll at least result in more useful error messages, with actual line numbers," and there it went somehow eliminating them

I enjoy a magic trick as much as the next punter, so hey 🤷

in reply to The Embodiment of RED

It *shouldn’t* work, but hey.

And who knows, maybe there’s a subtle parsing incompatibility between that specific browser version and JS “packer” version such that just reformatting it let the browser parse it correctly.