Closed dpriskorn closed 3 years ago
I'm using it wih node14 and it seems to work just fine. I suggest you update the installation instructions.
A PR is very welcome :)
I did this to install on Parabola GNU/Linux: sudo pacman -S nodejs npm sudo npm install --global sodium-native (this installs v3 that works with the new node) git clone --depth 1 https://github.com/ssbc/ssb-server.git cd ssb-server npm install -g ssb-server
I now get this error, but I don't know if it affects the functionality:
error loading sodium bindings: Cannot find module 'sodium-native'
Require stack:
- /home/egil/.ssb/node_modules/patchfoo/node_modules/chloride/bindings.js
- /home/egil/.ssb/node_modules/patchfoo/node_modules/chloride/index.js
- /home/egil/.ssb/node_modules/patchfoo/node_modules/private-box/index.js
- /home/egil/.ssb/node_modules/patchfoo/lib/app.js
- /home/egil/.ssb/node_modules/patchfoo/index.js
- /usr/lib/node_modules/ssb-server/node_modules/ssb-plugins/load-user-plugins.js
- /usr/lib/node_modules/ssb-server/node_modules/ssb-plugins/index.js
- /usr/lib/node_modules/ssb-server/bin.js
falling back to javascript version.
error loading sodium bindings: Cannot find module 'sodium-native'
Require stack:
- /home/egil/.ssb/node_modules/ssb-private/node_modules/chloride/bindings.js
- /home/egil/.ssb/node_modules/ssb-private/node_modules/chloride/index.js
- /home/egil/.ssb/node_modules/ssb-private/node_modules/ssb-keys/index.js
- /home/egil/.ssb/node_modules/ssb-private/index.js
- /usr/lib/node_modules/ssb-server/node_modules/ssb-plugins/load-user-plugins.js
- /usr/lib/node_modules/ssb-server/node_modules/ssb-plugins/index.js
- /usr/lib/node_modules/ssb-server/bin.js
falling back to javascript version.
ssb-git, ssb-git-web and patchfoo (as ssb-server plugin) seems to work fine it seems. I followed the installation instructions in their respective repos and it went smooth.
Thats this one: https://github.com/dominictarr/chloride/pull/16.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
Is it hard to make it work out of the box with v14?