Open physkets opened 4 years ago
I'm having the same problem. When I run npm search leveldown
I see that the latest version is 5.6.0
. scuttle-shell
is using version 4.0.2
, which is maybe too old to be compiled by nodejs version 14.9.0
. That leveldown
version is required by sodium-native
version 2.3.0
, which itself is required directly by scuttle-shell
and indirectly through ssb-server
. So changing the version of sodium-native
in package.json
isn't enough to fix the issue. In https://github.com/ssbc/ssb-server/ it suggests to use nvm install 10
and nvm alias default 10
so that npm install
uses nodejs version 10 by default. I'm left wondering what's blocking the update of ssb-server
to make it compile on nodejs versions after 10.
I'm able to use ssb-server
with the latest NodeJS: v14.9.0, so I don't think that is an issue.
Right. The last version of ssb-server
available on npm
is 16.0.1 and it compiles well on nodejs v14.9.0. However, scuttle-shell
requires ssb-server
version 14.1.12 in its package.json
file and that version doesn't compile on nodejs v14.9.0.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
After updating the dependencies npm install
succeeded.
Unfortunatly npm run start
fails with:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
systrayhelper 0.0.5 (d5794e2a72a9cb160d78b6fd9ee640ad1df02af7 built 2018-12-05T09:24:55Z)
got action: {update-item {ssb version: 19.2.0 false false false} { []} 1}
/home/reto/Documents/3rdparties/scuttle-shell/node_modules/ssb-peer-invites/node_modules/ssb-keys/util.js:42
var i = buf.indexOf('.')
^
TypeError: buf.indexOf is not a function
at Object.exports.toBuffer (/home/reto/Documents/3rdparties/scuttle-shell/node_modules/ssb-peer-invites/node_modules/ssb-keys/util.js:42:15)
I cloned the repository and attempted an install via
npm install
, but the installation fails:I am attaching the full log: 2020-08-23T17_22_54_081Z-debug.log