Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ~/.ssb/manifest.json #2

Open
jamoozy opened this issue Dec 10, 2020 · 0 comments
Open

Missing ~/.ssb/manifest.json #2

jamoozy opened this issue Dec 10, 2020 · 0 comments

Comments

@jamoozy
Copy link

jamoozy commented Dec 10, 2020

I have tried running the examples, unfortunately the:

const Connection = require('ssb-client')

Can't find the manifest.json file. ~/.ssb/secret exists, but not ~/.ssb/manifest.json. Can someone guide me on how to generate this file?

additional info

Also, the optional dependency sodium-native@2.2.2 is failing its compilation phase with the following error.

make: *** [sodium.target.mk:125: Release/obj.target/sodium/binding.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/jamoozy/.config/nvm/versions/node/v12.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.9.11-arch2-1
gyp ERR! command "/home/jamoozy/.config/nvm/versions/node/v12.12.0/bin/node" "/home/jamoozy/.config/nvm/versions/node/v12.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jamoozy/proj/ssb-client-basic/node_modules/sodium-native
gyp ERR! node -v v12.12.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sodium-native@2.2.2 (node_modules/sodium-native):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sodium-native@2.2.2 install: `node-gyp-build "node preinstall.js" "node postinstall.js"`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

I don't think that's relevant, but just in case, there you have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant