community icon indicating copy to clipboard operation
community copied to clipboard

Provide self-contained installer for hypercore daemon

Open rklaehn opened this issue 5 years ago • 4 comments

It would be nice to have a self-contained installer (like an appimage for linux, dmg for OSX, ...) for the hypercore daemon. Beaker browser provides an appimage, which worked at first try for me.

rklaehn avatar May 19 '20 15:05 rklaehn

I tried to install the daemon when it was announced on hackernews. Did not work because I was on nodejs 8.0. Now I upgraded to v10.20.1, and at least the install did work. Unfortunately I am now stuck in something about the fuse setup not working.

$ hyperdrive fuse-setup
(node:25140) SyntaxError Plugin: hyperdrive-daemon: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/[email protected]
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
 ›   Error: command fuse-setup not found

Wrong nodejs version again? Not much of a nodejs/npm expert...

rklaehn avatar May 19 '20 15:05 rklaehn

@rklaehn as a rule use latest lts, that’s the one we use.

That’s Node 12 atm

@andrewosh did we add this to the readme or just discuss it?

mafintosh avatar May 19 '20 15:05 mafintosh

Yep it's added as a note in the Installation section. Node 12's the way to go at the moment.

andrewosh avatar May 19 '20 15:05 andrewosh

Thanks. Works with latest node. A self-contained installer would still be nice though...

$ node --version
v12.16.3

rklaehn avatar May 20 '20 09:05 rklaehn