• Node.JS bundles?

    From apam@21:1/182 to All on Mon Dec 4 21:20:10 2023
    Hi

    I'm working on a node.js based web front end for talisman. It's easy to
    install on linux / freebsd etc, not so easy on windows.

    Windows needs (in addition to node.js) python 3.11 (3.12 is too new)
    visual studio with the not most recent windows sdk. It needs these to
    build a module I am using.. (iconv)

    So I was wondering, is it possible and not too barbaric to zip up an
    installed folder for windows users so they don't have to build the node modules?

    I'm thinking surely some do it like that - i don't have to run npm
    install for visual studio code..?

    Andrew


    --- Talisman v0.49-dev (FreeBSD/amd64)
    * Origin: Smuggler's Cove - scove.talismanbbs.com:2323 (21:1/182)
  • From esc@21:4/173 to apam on Mon Dec 4 14:25:20 2023
    So I was wondering, is it possible and not too barbaric to zip up an installed folder for windows users so they don't have to build the node modules?

    This isn't likely what you're after but there is a way to make a binary which includes the entire node runtime and all dependencies. It's a bit...gross, it makes gigantic binaries that are not the easiest to distribute, and as such the code won't be there and just "exist" for people, but it's an option.

    Check out the rlogin-launcher mod for Demonic that I released. I did this to build binaries for linux, macos, and windows.

    https://github.com/vercel/pkg

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)