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)

Tekniquelly correct
in reply to The Embodiment of RED • • •The Embodiment of RED
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 🤷
Tekniquelly correct
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.