GithubHelp home page GithubHelp logo

ssbc / scuttle-shell Goto Github PK

View Code? Open in Web Editor NEW
54.0 7.0 10.0 2.62 MB

A system tray app for running Secure Scuttlebutt and providing sbot features to your local system

JavaScript 94.88% Shell 5.12%
ssb securescuttlebutt scuttlebutt nodejs npm systray

scuttle-shell's Introduction

Hermie The Crab

Scuttle Shell

This is a Secure Scuttlebutt system tray application. It provides an always-running sbot for your local system.

Dependencies

You must have Git and Node installed.

Install globally

$ npm install -g scuttle-shell

or if you cloned this repo (run from the repo folder itself):

$ npm install -g

You can run the app by executing scuttleshell on your terminal.

Using it programmatically

Right now, there is only one feature exported by the scuttle-shell module which is the ability to start a server. Example:

let scuttleshell = require("scuttle-shell")

console.log("Starting sbot, quitting after 30 seconds")
scuttleshell.start()

setTimeout(scuttleshell.stop, 30000)

API

start(customConfig, donecb)

The start() function is used to launch scuttle-shell. You can pass a custom configuration object as the first parameter and a callback to be triggered once the shell starts.

In the custom config, you can only pass appname and plugins. Other fields are ignored.

The callback receives no parameter.

stop(done)

The stop() function is used to stop scuttle-shell. It will close the tray application and also stop sbot. You can pass a callback to be triggered after it stops everything.

getConfig()

The getConfig() function is a synchronous function that returns an object contained the current configuration. The object has the following shape:

{
    type: "config",
    keys: "<string>",
    manifest: "<object>",
    remote: "<string>
}

If there is an error getting the config, the returned object will look like:

{
    type: "error",
    msg: "<string>
}

Setup

This application is built with NodeJS. To set it up run:

$ npm install

This should set it up. If anything fails you can check your setup with

Plugins

scuttle-shell supports mutliple ways to extend the sbot that it runs with pluigns (like ssb-chess-db or ssb-query).

First of all, it supports and loads the plugins that were installed by running sbot plugins.install .... These are stored under $HOME/.ssb/node_modules.

Additonally, you can either pass the file paths to the API constructor by adding a plugins field to the object you pass to .start(). Check out examples/launch_sbot_custom_plugin.js to see it in action.

Alternativly you can use the command-line flag of scuttleshell, named --extra-plugins. i.e. scuttleshell --extra-plugin path/to/plugin1 --extra-plugin path/to/plugin2. Please note that these are not installed or persisted, you need to take care of that.

If you don't want to store them in the $HOME/.ssb folder, there is also the option to create a scuttleshell.json file next to your custom scuttle-shell and set a plugins array inside it.

{
    'plugins': ['path/to/plug1','path/to/plug2','path/to/plug3']
}

scuttle-shell's People

Contributors

arj03 avatar carlthuringer avatar christianbundy avatar cryptix avatar dependabot[bot] avatar dominictarr avatar happy0 avatar mixmix avatar soapdog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

scuttle-shell's Issues

move to ssbc?

hey @soapdog would you be happy moving this into github.com/ssbc ?
mainly I'm interested in easy ways for people to find it, and for core contributors to be able to push branches up to help contribute

if you're not into it, thanks fine

Support multiple networks

Objective

Make sure a single instance of scuttle shell is able to launch sbot for the mainnet and also multiple altnets as brainstormed on the personal scuttlebutting thread.

Why

Enabling easy altnets will enable many use cases which are difficult right now, such as:

  • Launch a test net that you can spam/test your new messages or ssb implementations without the risk of breaking peoples clients.
  • Creating private networks that are impossible to merge back, for your friends, family, company..

Desired outcome

The user can create new altnets by selecting new caps and ports. If they don't conflict with any of the registered networks, they are added to the system. The user can switch any of the networks on or off.

Global install fails on Ubuntu 18.04

I ran npm install -g scuttle-shell and got the following warnings:

npm WARN deprecated [email protected]: use String.prototype.padStart()
npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node ./scripts/fetch-prebuilt-helper.js /usr/local/lib/node_modules/.staging/forked-systray-485944e9
prebuild-install WARN install EACCES: permission denied, access '/home/myname/.npm'
npm WARN optional Skipping failed optional dependency /scuttle-shell/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /scuttle-shell/ssb-server/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]

When running scuttleshell, I get the following error:

SyntaxError: Unexpected token T in JSON at position 0
    at parse (<anonymous>)
    at /usr/local/lib/node_modules/scuttle-shell/node_modules/pull-stream/throughs/map.js:13:23
    at /usr/local/lib/node_modules/scuttle-shell/node_modules/pull-stream/throughs/filter.js:17:11
    at pull (/usr/local/lib/node_modules/scuttle-shell/node_modules/pull-through/index.js:46:22)
    at next (/usr/local/lib/node_modules/scuttle-shell/node_modules/looper/index.js:7:11)
    at /usr/local/lib/node_modules/scuttle-shell/node_modules/looper/index.js:9:18
    at /usr/local/lib/node_modules/scuttle-shell/node_modules/pull-through/index.js:62:13
    at /usr/local/lib/node_modules/scuttle-shell/node_modules/pull-stream/throughs/through.js:19:9
    at drain (/usr/local/lib/node_modules/scuttle-shell/node_modules/stream-to-pull-stream/index.js:126:18)
    at Socket.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/stream-to-pull-stream/index.js:135:5)

After some searching, I found out that it is trying to parse This file should have been replaced by the preinstall script of forked-systray as JSON. This can be found in /blob/master/systrayhelper in ssbc/forked-systray, which seems to imply that the installation of systray was unsuccessful. Further evidence is the second warning I got when installing.


To provide some context: Before trying to install scuttleshell I had installed Patchwork, but it was not running during the installation or setup process.

Some information about my system:

Linux myPC 4.18.0-18-generic #19~18.04.1-Ubuntu SMP Fri Apr 5 10:22:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Support Custom Plugins

Objective

At the moment, scuttle-shell automatically injects a bunch of commonly used (across patchwork and batchbay) scuttlebot plugins.

However, there isn't any way for an application which consumes scuttle-shell to inject custom plugins that aren't available (as far as I know - feel free to close if I'm mistaken.)

Brief aside for thanks =p

Thanks, @soapdog , scuttle-shell is awesome.

Why (anyway, back on topic.)

Applications which consume scuttle-shell may use custom scuttlebot plugins which aren't used by the main clients.

Desired Outcome

  • A consuming application can inject custom scuttlebot plugins into the scuttlebot instance that is started.
  • There is some documentation in the README.md file that gives an example of how to do this.
  • Initiating the ssb-chess-db plugin (used to support the chess feature in patchbay) could perhaps be moved out of server.js and into patchbay when it initialises scuttle-shell instead. Other applications that use ssb-chess in the future could do the same.

inclusion of `ssb-threads` plugin

Hey,

I believe it would be good to include the ssb-threads plugin. It makes it a lot easier to experiment with ssb clients and I am using it on patchfox.

[ERROR] - windows install fails

When I try and install the master branch on windows 10, I see errors.
I see y'all are working on windows install, this is mainly just providing extra info in case it's useful. If this is redundant info, please feel free to close this.

Seems like there are 2 errors :

1.

Exception Error: ENOENT: no such file or directory, chmod 'C:\Users\mixmix\projects\patchbay-builder\app\node_modules\forked-systray\systrayhelper.exe'

2.

C:\Users\mixmix\projects\patchbay-builder\app\node_modules\scuttle-shell\scripts\check-configuration-win.js:20
    let manifestPath = results[key].values[""].value
                                          ^

TypeError: Cannot read property '' of undefined

App crashing after some seconds (unknown reason)

I installed the plugin globally (npm install -g scuttle-shell) and executed it with scuttleshell.
The icon appears and a few seconds later it crashes.

image

/usr/local/lib/node_modules/scuttle-shell/node_modules/muxrpc-validation/index.js:59
      if (err) throw err
               ^
UsageError: Param 0 is required
    at new ZE (/usr/local/lib/node_modules/scuttle-shell/node_modules/zerr/index.js:11:42)
    at Object.ZError [as MissingParam] (/usr/local/lib/node_modules/scuttle-shell/node_modules/zerr/index.js:13:14)
    at validate (/usr/local/lib/node_modules/scuttle-shell/node_modules/muxrpc-validation/index.js:122:48)
    at Object.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/muxrpc-validation/index.js:58:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/secret-stack/util.js:80:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/hoox/index.js:3:17)
    at Object.hooked [as add] (/usr/local/lib/node_modules/scuttle-shell/node_modules/hoox/index.js:10:15)
    at Socket.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/scuttlebot/plugins/local.js:59:21)
    at Socket.emit (events.js:180:13)
    at Socket.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/broadcast-stream/index.js:51:12)

Crashes on startup (OSX)

Using OSX 10.11.6

Setup:

$ git clone <this repo>  // got commit e3b27dd3289da9446e01441a0ee92240ae4a08ba
$ npm install
$ npm run check

[INFO] App manifest path location: /Users/myname/Library/Application Support/Mozilla/NativeMessagingHosts/scuttleshell.json
[OK] Configuration appears correct
[INFO] App located at: /Users/myname/projects/ssb/scuttle-shell/host-app.js

Running:

$ npm run start

started sbot server v12.1.0
ssb-friends: stream legacy api used
NotFoundError: Key not found in database [startedAt]
    at /Users/myname/projects/ssb/scuttle-shell/node_modules/levelup/lib/levelup.js:160:15
    at /Users/myname/projects/ssb/scuttle-shell/node_modules/encoding-down/index.js:51:21
systrayhelper 0.0.3 (0953942245566bf358ba937af840947100380e15 built 2018-09-13T19:08:04Z)
panic: runtime error: index out of range

goroutine 34 [running]:
main.onReady.func2.1(0xc42001a1e0, 0xb, 0xc420018dc0, 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:111 +0x187
main.onReady.func2.3(0xc42001a1e0, 0xb, 0xc420018dc0, 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:152 +0x155
main.onReady.func2.4(0xc420166000, 0xc42018a0c0)
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:177 +0x69
created by main.onReady.func2
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:167 +0x344
scuttle-shell got exit: { code: 2, signal: null }

I commented out most of the plugins in server.js and ran again. The output was identical except it didn't have the NotFoundError: Key not found in database.

node-systray dependency installs their own binaries

Are there alternatives to that particular module? It crams some helpers into the system in a manner that i find strange. IMHO it stretches the role of npm to what the package managment of the system should be in charge of... I wrote more about it here: %Vx/1OSDLnXXu4P3Cmo4Mq8ZTO2kRRpT32o9JAUoFG8o=.sha256

Prevent multiple instances

Objective

We need to figure out a way for scuttle shell to know that another instance is running and thus prevent launching multiple copies.

Why

In the near future, multiple apps might want to start scuttle shell to provide sbot features for them. We need this to prevent race conditions between multiple apps trying to launch the same systray application.

Desired outcome

If scuttle shell is running and another app tries to launch it again, it simply quits without error and informs the app that the application was already running.


Notice for add-on usage

The host_app.js native app will need to be changed to accommodate this. Right now it tries to start its own scuttle shell and has no way of attaching itself to an already running sbot.

Installation fails at leveldown

I cloned the repository and attempted an install via npm install, but the installation fails:

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.8.3-zen1-1-zen
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/Applications/scuttle-shell/node_modules/ssb-server/node_modules/leveldown
gyp ERR! node -v v14.8.0
gyp ERR! node-gyp -v v7.0.0
gyp ERR! not ok 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/ssb-server/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 ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I am attaching the full log:
2020-08-23T17_22_54_081Z-debug.log

Failed to fetch pre-built systrayhelper

When I try to install the latest version, it fails with the following error:

> [email protected] preinstall /home/user/AUR/Temp/src/scuttle-shell/node_modules/forked-systray
> node ./scripts/fetch-prebuilt-helper.js

systrayhelper not installed!
trying to fetching prebuilt for: linux
donload location: /tmp/node-systray-downloadHelper
===============================================================================================================================================================================================
finished untar
testing execution
/tmp/node-systray-unpack/systrayhelper: error while loading shared libraries: libappindicator3.so.1: cannot open shared object file: No such file or directory
Error: Command failed: /tmp/node-systray-unpack/systrayhelper --test
/tmp/node-systray-unpack/systrayhelper: error while loading shared libraries: libappindicator3.so.1: cannot open shared object file: No such file or directory

    at checkExecSyncError (child_process.js:611:11)
    at execSync (child_process.js:647:15)
    at testExecutable (/home/user/AUR/Temp/src/scuttle-shell/node_modules/forked-systray/scripts/fetch-prebuilt-helper.js:96:5)
    at Extract.<anonymous> (/home/user/AUR/Temp/src/scuttle-shell/node_modules/forked-systray/scripts/fetch-prebuilt-helper.js:85:9)
    at Extract.emit (events.js:333:22)
    at finishMaybe (/home/user/AUR/Temp/src/scuttle-shell/node_modules/readable-stream/lib/_stream_writable.js:630:14)
    at /home/user/AUR/Temp/src/scuttle-shell/node_modules/readable-stream/lib/_stream_writable.js:608:5
    at Extract._final (/home/user/AUR/Temp/src/scuttle-shell/node_modules/tar-stream/extract.js:255:3)
    at callFinal (/home/user/AUR/Temp/src/scuttle-shell/node_modules/readable-stream/lib/_stream_writable.js:601:10)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  status: 127,
  signal: null,
  output: [
    null,
    <Buffer >,
    <Buffer 2f 74 6d 70 2f 6e 6f 64 65 2d 73 79 73 74 72 61 79 2d 75 6e 70 61 63 6b 2f 73 79 73 74 72 61 79 68 65 6c 70 65 72 3a 20 65 72 72 6f 72 20 77 68 69 6c ... 109 more bytes>
  ],
  pid: 14291,
  stdout: <Buffer >,
  stderr: <Buffer 2f 74 6d 70 2f 6e 6f 64 65 2d 73 79 73 74 72 61 79 2d 75 6e 70 61 63 6b 2f 73 79 73 74 72 61 79 68 65 6c 70 65 72 3a 20 65 72 72 6f 72 20 77 68 69 6c ... 109 more bytes>
}

######
Hello, sorry you had to see this...

Failed to fetch pre-built systrayhelper.
  Most likely the combination of OS and Architecture isn't currently supported.
  
  To still get this working you will have to do some console-magic...
  
  1) Install Go - See https://golang.org/doc/install
  1.5) On linux: you need two libraries, listed here: https://github.com/getlantern/systray#platform-specific-concerns
  2) run this command: go get github.com/ssbc/systrayhelper
  3) sudo mv $HOME/go/bin/systrayhelper /usr/local/bin (or any other folder, as long as it's in your $PATH)
  
  TODO: evaluate falling back to https://github.com/chemdrew/npm-golang
  TODO: brew.sh and windows snoop templates installing the helper
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] preinstall: `node ./scripts/fetch-prebuilt-helper.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2020-02-07T18_38_07_103Z-debug.log

[ERROR] Registry key: ... doesn't exist

Just got this trying to install on a fresh installed system.

> [email protected] install C:\Users\ssb\Desktop\patchbay\node_modules\scuttle-shell
> node scripts/install.js

{"HKCU\\Software\\Mozilla\\NativeMessagingHosts\\scuttleshell":
[ERROR] Registry key: HKCU\Software\Mozilla\NativeMessagingHosts\scuttleshell doesn't exist

Try: npm run setup-win%

Not really versed in windows registration stuff but a first thought: do the parent keys have to exist?

[Error] macOS app start fails

OK, I've tried to start master scuttle-shell on macOS 10.13.6 and it kind a failed. Here's install console output.

$ git clone https://github.com/ssbc/scuttle-shell
$ cd scuttle-shell
$ git log --name-status HEAD^..HEAD
commit a92c57de0633279e5c7b710ddc0869ab8b1e05c1 (HEAD -> master, origin/master, origin/HEAD)
Author: Christian Bundy <[email protected]>
Date:   Thu Nov 1 08:44:25 2018 -0700

    Add config for Stale app

A       .github/stale.yml
$ npm ci
> [email protected] install /Users/abelaska/Downloads/scuttle-shell/node_modules/sodium-native
> node-gyp-build "node preinstall.js" "node postinstall.js"


> [email protected] install /Users/abelaska/Downloads/scuttle-shell/node_modules/ssb-unread/node_modules/leveldown
> prebuild-install || node-gyp rebuild


> [email protected] postinstall /Users/abelaska/Downloads/scuttle-shell/node_modules/ssb-unread/node_modules/level
> opencollective-postinstall || exit 0

Thank you for using level!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/level/donate


> [email protected] install /Users/abelaska/Downloads/scuttle-shell/node_modules/leveldown
> prebuild-install || node-gyp rebuild


> [email protected] postinstall /Users/abelaska/Downloads/scuttle-shell/node_modules/level
> opencollective-postinstall || exit 0

Thank you for using level!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/level/donate


> [email protected] install /Users/abelaska/Downloads/scuttle-shell/node_modules/fsevents
> node install

[fsevents] Success: "/Users/abelaska/Downloads/scuttle-shell/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> [email protected] preinstall /Users/abelaska/Downloads/scuttle-shell/node_modules/forked-systray
> node ./scripts/fetch-prebuilt-helper.js

systrayhelper not installed!
trying to fetching prebuilt for: darwin
donload location: /var/folders/r9/nxwj64ds2556ptj46schl3300000gn/T/node-systray-downloadHelper
===============================================================================================================================================================================================================================================================================
finished untar
testing execution
usage: systrayhelper
	send&receive json over stdio to create menu items, etc.

Version 0.0.3 (0953942245566bf358ba937af840947100380e15 built 2018-09-13T19:08:04Z)
helper started succesful!
Exception Error: ENOENT: no such file or directory, unlink '/var/folders/r9/nxwj64ds2556ptj46schl3300000gn/T/node-systray-downloadHelper'

> [email protected] install /Users/abelaska/Downloads/scuttle-shell
> node scripts/install.js

[OK] Wrote manifest path to registry.
[INFO] Try: npm run check
[INFO] App manifest path location: /Users/abelaska/Library/Application Support/Mozilla/NativeMessagingHosts/scuttleshell.json
[OK] Configuration appears correct
[INFO] App located at: /Users/abelaska/Downloads/scuttle-shell/host-app.js
added 738 packages in 25.427s

And this is the error I get when I try to start the app.

$ npm start

> [email protected] start /Users/abelaska/Downloads/scuttle-shell
> node server.js

started sbot server v13.0.0
ssb-friends: stream legacy api used
NotFoundError: Key not found in database [startedAt]
    at /Users/abelaska/Downloads/scuttle-shell/node_modules/ssb-unread/node_modules/levelup/lib/levelup.js:160:15
    at /Users/abelaska/Downloads/scuttle-shell/node_modules/ssb-unread/node_modules/encoding-down/index.js:51:21
systrayhelper 0.0.3 (0953942245566bf358ba937af840947100380e15 built 2018-09-13T19:08:04Z)
panic: runtime error: index out of range

goroutine 36 [running]:
main.onReady.func2.1(0xc420016600, 0xb, 0xc420015080, 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:111 +0x187
main.onReady.func2.3(0xc420016600, 0xb, 0xc420015080, 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:152 +0x155
main.onReady.func2.4(0xc42016c000, 0xc42016a0e0)
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:177 +0x69
created by main.onReady.func2
	/Users/travis/gopath/src/github.com/ssbc/systrayhelper/tray.go:167 +0x344
scuttle-shell got exit: { code: 2, signal: null }

How can I help more?

Deprecated libraries

When I install using npm, it displays that the following libraries are deprecated:

Are there any plans to fix those?

Install on macOS fails w/o autoconf installed

Installing on macOS 11 gave this error:

npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/scuttle-shell/node_modules/sodium-native
npm ERR! command failed
npm ERR! command sh -c node-gyp-build "node preinstall.js" "node postinstall.js"
npm ERR! autoconf is required, but wasn't found on this system
npm ERR! ./configure: line 5: ./configure: No such file or directory
npm ERR! /usr/local/lib/node_modules/scuttle-shell/node_modules/sodium-native/preinstall.js:119
npm ERR!     if (err) throw err
npm ERR!              ^
npm ERR!
npm ERR! Error: ./configure exited with 127
npm ERR!     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/sodium-native/preinstall.js:149:25)
npm ERR!     at ChildProcess.emit (node:events:394:28)
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/calebjasik/.npm/_logs/2021-06-07T16_51_57_277Z-debug.log
~ took 1m

[Error] - mac install not quite working

running branch windowsInstall withing patchbay (branch scuttle-shell)

I see patchbay launch, and hermes in the tray (as well as the words "scuttle-shell" taking up space in the tray!), but no content loads.

In the terminal I see :

STARTING electron
LOADING config
> scuttle-shell: starting
started sbot server v13.0.3
ssb-friends: stream legacy api used
Error { notFound: true, status: 404 }
systrayhelper 0.0.4 (ded1f2ed4d30f6ca2c89a13db0bd3046c6d6d0f9 built 2018-10-20T17:30:44Z)
update-item warning!
SeqID too large. has:0 want:1
LOADING config
STARTING app

I'm gonna go read about that SedID error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.