I tried the wiki and some search-foo but ended up with deprecated things on how to build a NPM package (or something that looks like it).
In my case I wanted to try building kui from https://github.com/kubernetes-sigs/kui, which to me looks like NPM-Foo:
Quoting the README:
I don't trust the prebuilts
We hear you. Choose your platform (e.g. mac:amd64), execute the following, then look in ./dist/electron.
git clone email@example.com:kubernetes-sigs/kui.git && cd kui && npm ci && \ npm run build:electron:mac:amd64
Might not be the best package to get going with NPM, as it seems rather complex.
So any hints are highly appreciated.
Kind Regards Johannes
On 10.01.22 at 16:23 Johannes Kastl wrote:
Small addendum: I have just found two threads that mentioned https://github.com/openSUSE/obs-service-node_modules and will try this out.
Any hints whether or not this is still the best choice are still appreciated...