Hacker News new | ask | show | jobs
by 3willows 534 days ago
Good stuff! Is there any chance you could write some instructions on how to make "darklaga.bin" locally.

I ran "npm install" and then the build script, but then got a bit lost.

When I open dist/darklaga.html, my browser dev tools (correctly) tells me that I can't get at "darklaga.bin".

I worked around this by going on the live demo, grabbing the "darklaga.bin" from the dev tools "Networks" tab, and plugging it to the dist/ directory. But it would be even better if I could just download the repo and make the bin from there.

2 comments

The trouble is, darklaga.bin will not work locally because it must be fetched over an HTTP(S) connection. So, there's a darklaga.local.html provided when running locally. The build sequence is "npm run pack" then "npm run build", after which darklaga.local.html should work.