Open bgpugh opened 2 years ago
I just looked into https://www.npmjs.com/package/ssb-validate2-rsjs-node, which mentions that the package requires rust to be installed and functional:
Rust first needs to be installed in order to build the bindings (installation instructions).
git clone git@github.com:ssb-ngi-pointer/ssb-validate2-rsjs-node.git cd ssb-validate2-rsjs-node cargo install nj-cli # generate release build of ssb-validate2-rsjs-node npm run build # run the tests npm run test
The build process creates bindings in
./dist/index.node
.If you wish to rebuild the bindings after making changes to the code, use the
nj-cli
tool:
nj-cli build --release
Confirmed: Making sure I had a working Rust and nj-cli
as above resolved the issue. Installation documentation needs to be updated
What's the problem you want solved?
When running
npm -g install fraction/oasis#semver:
on the current stable release of Manjaro-ARM, the build fails with the following:FWIW, this also fails in the same way when building Patchwork, as well as with TOT (
npm -g install .
when in repository)