Parchment Site Generator creates broken partial files

In the past few days, the Parchment Site Generator at Parchment Site Generator started producing truncated files – the HTML files it generates cut off in the middle of a point in JS, and doesn’t even include the story file or WASM interpreters.

It was working a few days ago.

Separately: I can see that Parchment’s source includes a TS file for creating pages for a story using the CLI program (“single-file-cli.ts”). That looks like it should work if the web-based API is down, but when I’ve tried to install and run that, it generates an HTML file that errors with:

TypeError: null is not an object (evaluating '/(\[/=\])(\[^/=\]+)$/.exec(e.path||e.url)\[2\]') 

If anyone knows how to run that script properly, I could use that instead of the web-based API.

Thanks for any help!

I bet the server is full again. This didn’t used to be a problem, I don’t know why it’s started being one. I’ll take a look ASAP!

Edit: Okay I think this should be fixed now.

3 Likes