homebase
homebase copied to clipboard
Has it installed?
I may or may not have a working installation. I'm running this on Ubuntu 16.04.6:
npm install --g @beaker/homebase
Which runs happily for a few minutes, but then begins to complain. The install ends this way:
make: Leaving directory '/home/admin/.nvm/versions/node/v12.6.0/lib/node_modules/@beaker/homebase/node_modules/utp-native/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/admin/.nvm/versions/node/v12.6.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:203:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 3.13.0-44-generic
gyp ERR! command "/home/admin/.nvm/versions/node/v12.6.0/bin/node" "/home/admin/.nvm/versions/node/v12.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/admin/.nvm/versions/node/v12.6.0/lib/node_modules/@beaker/homebase/node_modules/utp-native
gyp ERR! node -v v12.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/@beaker/homebase/node_modules/sodium-native):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp-build "node preinstall.js" "node postinstall.js"`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/@beaker/homebase/node_modules/utp-native):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ @beaker/[email protected]
added 454 packages from 251 contributors in 138.277s
Er, did it install, or not?
Hmm! That's odd. Basically it failed to build the native crypto code (fallback to slower JS) and failed to install the utp networking code (fallback to TCP). It's not a blocker but it's not ideal. Since it's a homebase instance, usually TCP will be enough, and the JS crypto can work.
I'm unsure why the build would have failed. Maybe missing compilation tools? There's not a lot of info in that log.
@pfrazee - I installed all the dependencies listed, namely:
apt-get install libtool m4 automake libcap2-bin build-essential
I can supply the whole log, if you wish?
@glowkeeper hmm only if you think it has more info.
Oh okay, I know the problem. We havent updated those deps for node 12 yet. Can you downgrade to 11?
@pfrazee - aha! Probably! Thanks...I'll let you know how I get on.
ps. when will node 12 be supported?
Very soon. Just a lot of API changes for native modules in 12
On Mon, Jul 22, 2019 at 12:45 PM Steve Huckle [email protected] wrote:
@pfrazee https://github.com/pfrazee - aha! Probably! Thanks...I'll let you know how I get on.
ps. when will node 12 be supported?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/beakerbrowser/homebase/issues/43?email_source=notifications&email_token=AAJWCUYBPRK5ECASKWVXNNTQAXW27A5CNFSM4IF2CQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QUBUA#issuecomment-513884368, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJWCU7ZAWEWJ4SPGEIEMLDQAXW27ANCNFSM4IF2CQAQ .
Cool - downgraded to node 11.15.0 (nvm makes managing multiple versions of node a breeze ;) ), and I think I'm good now....
Good deal. Sorry for the trouble!
On Mon, Jul 22, 2019 at 1:53 PM Steve Huckle [email protected] wrote:
Cool - downgraded to node 11.15.0 (nvm makes managing multiple versions of node a breeze ;) ), and I think I'm good now....
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/beakerbrowser/homebase/issues/43?email_source=notifications&email_token=AAJWCU7XSP2TJU5EAOYJPDLQAX62LA5CNFSM4IF2CQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2Q2D5A#issuecomment-513909236, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJWCU6G3VLV6MV7J24JJZ3QAX62LANCNFSM4IF2CQAQ .
@pfrazee - no problem - thanks for getting back to me so quickly!
ps. I've got homebase happily serving http://4b1bdf7b0f6beeadab5dadaf019cddbc94f618792ea30b8a2f5d957267d5bd92/
...which I've loaded into Firefox via the DAT P2P Protocol extension - it's a blockchain app', so that allows me to use MetaMask...
Thanks!
Sweet!
On Mon, Jul 22, 2019 at 2:22 PM Steve Huckle [email protected] wrote:
@pfrazee https://github.com/pfrazee - no problem - thanks for getting back to me so quickly!
ps. I've got homebase happily serving http://4b1bdf7b0f6beeadab5dadaf019cddbc94f618792ea30b8a2f5d957267d5bd92/
...which I've loaded into Firefox via the DAT P2P Protocol extension - it's a blockchain app', so that allows me to use MetaMask...
Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/beakerbrowser/homebase/issues/43?email_source=notifications&email_token=AAJWCU4JBMV66FLS66YAXJTQAYCH5A5CNFSM4IF2CQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2Q4RGY#issuecomment-513919131, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJWCU573QTD6ZCL5JACEGTQAYCH5ANCNFSM4IF2CQAQ .