ssbc / patchwork

A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).
https://www.scuttlebutt.nz
GNU Affero General Public License v3.0
3.59k stars 334 forks source link

Install and run fails #222

Closed clehner closed 8 years ago

clehner commented 8 years ago

at latest master d6c7ab67bf4d51255a0fd268c0faff49ce94d1a2

$ node --version
v5.3.0

clean npm install (from empty node_modules dir):

npm WARN install Couldn't install optional dependency: Unsupported
npm WARN install Couldn't install optional dependency: Unsupported

> chloridedown@1.0.22 preinstall /usr/local/src/patchwork/node_modules/.staging/chloridedown-d93ca80f521f55640f17e633c69ed1c7
> make

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fPIC... yes
checking whether the linker accepts -fPIC... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -fstack-protector... yes
checking whether the linker accepts -fstack-protector... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wdiv-by-zero... yes
checking whether C compiler accepts -Wsometimes-uninitialized... no
checking whether C compiler accepts  -Wall... yes
checking whether C compiler accepts  -Wall -Wextra... yes
checking for clang... no
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... no
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,noexecstack... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ar... (cached) ar
checking for MMX instructions set... yes
checking for SSE2 instructions set... yes
checking for SSE3 instructions set... yes
checking for SSSE3 instructions set... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking whether __STDC_LIMIT_MACROS is required... no
checking whether we should use x86_64 asm code... yes
checking for 128-bit arithmetic... yes
checking for cpuid instruction... yes
checking if weak symbols are supported... yes
configure: data alignment is not required on this target
checking for arc4random... no
checking for arc4random_buf... no
checking for mmap... yes
checking for mlock... yes
checking for madvise... yes
checking for mprotect... yes
checking for explicit_bzero... no
checking for posix_memalign... yes
checking if gcc/ld supports -Wl,--output-def... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dist-build/Makefile
config.status: creating libsodium.pc
config.status: creating libsodium-uninstalled.pc
config.status: creating msvc-scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/libsodium/Makefile
config.status: creating src/libsodium/include/Makefile
config.status: creating src/libsodium/include/sodium/version.h
config.status: creating test/default/Makefile
config.status: creating test/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
Extracting DEFINES from Libsodium make file...
Detected system architecture x64
Libsodium Makefile : ./deps/libsodium/Makefile
Libsodium GYP template file deps/libsodium.gyp.in
Writing output to GYP file deps/libsodium.gyp
npm WARN prefer global node-gyp@3.2.1 should be installed with -g

> chloridedown@1.0.22 install /usr/local/src/patchwork/node_modules/chloridedown
> node-gyp rebuild

make: Entering directory '/usr/local/src/patchwork/node_modules/chloridedown/build'
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/crypto_auth.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/hmac_hmacsha256.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/verify_hmacsha256.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/hmac_hmacsha512.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/hmac_hmacsha512256.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_box/crypto_box.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_box/crypto_box_easy.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/after_curve25519xsalsa20poly1305.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/before_curve25519xsalsa20poly1305.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/box_curve25519xsalsa20poly1305.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/keypair_curve25519xsalsa20poly1305.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/salsa20/ref/core_salsa20.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/salsa20/core_salsa20_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_generichash/crypto_generichash.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_generichash/blake2/generichash_blake2_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_generichash/blake2/ref/generichash_blake2b.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_hash/crypto_hash.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_onetimeauth/crypto_onetimeauth.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_try.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/box_xsalsa20poly1305.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_shorthash/crypto_shorthash.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphash24_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/crypto_sign.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_0.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_1.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_add.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_cmov.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_copy.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_frombytes.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_invert.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_isnegative.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_isnonzero.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_mul.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_neg.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_pow22523.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq2.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sub.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_tobytes.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_add.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_double_scalarmult.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_frombytes.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_madd.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_msub.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p1p1_to_p2.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p1p1_to_p3.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_0.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_dbl.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_0.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_dbl.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_to_cached.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_to_p2.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_tobytes.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_precomp_0.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_scalarmult_base.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_sub.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_tobytes.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc_muladd.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc_reduce.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/crypto_stream.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa20/ref/xor_salsa20_ref.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/stream_xsalsa20.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/xor_xsalsa20.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_verify/16/verify_16_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_verify/16/ref/verify_16.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_verify/32/verify_32_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_verify/32/ref/verify_32.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_verify/64/verify_64_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_verify/64/ref/verify_64.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/randombytes/randombytes.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/sodium/core.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/sodium/runtime.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/sodium/utils.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/sodium/version.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_0_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_1_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_add_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_copy_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_cswap_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_frombytes_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_invert_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_mul_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_mul121666_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_sq_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_sub_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_tobytes_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/scalarmult_curve25519_ref10.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/base_curve25519_donna_c64.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/stream_salsa20_amd64_xmm6.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/salsa2012/ref/core_salsa2012.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/salsa2012/core_salsa2012_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/salsa208/ref/core_salsa208.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_core/salsa208/core_salsa208_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/sign_edwards25519sha512batch_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/fe25519_edwards25519sha512batch.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/ge25519_edwards25519sha512batch.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/sc25519_edwards25519sha512batch.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/sign_edwards25519sha512batch.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/afternm_aes128ctr.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/stream_aes128ctr_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/beforenm_aes128ctr.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common_aes128ctr.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts_aes128ctr.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128_aes128ctr.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/stream_aes128ctr.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/xor_afternm_aes128ctr.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa2012/ref/stream_salsa2012.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa2012/ref/xor_salsa2012.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208.o
  CC(target) Release/obj.target/libsodium/deps/libsodium/src/libsodium/crypto_stream/salsa208/ref/xor_salsa208.o
  AR(target) Release/obj.target/deps/sodium.a
  COPY Release/sodium.a
  CXX(target) Release/obj.target/sodium/sodium.o
  SOLINK_MODULE(target) Release/obj.target/sodium.node
  COPY Release/sodium.node
make: Leaving directory '/usr/local/src/patchwork/node_modules/chloridedown/build'

> leveldown@1.4.3 install /usr/local/src/patchwork/node_modules/leveldown
> prebuild --download

module.js:328
    throw err;
    ^

Error: Cannot find module 'once'
    at Function.Module._resolveFilename (module.js:326:15)
    at Function.Module._load (module.js:277:25)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/local/src/patchwork/node_modules/simple-get/index.js:6:12)
    at Module._compile (module.js:398:26)
    at Object.Module._extensions..js (module.js:405:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
ssb-patchwork@2.0.5 /usr/local/src/patchwork
├─┬ babel@5.8.34 
│ ├─┬ babel-core@5.8.34 
│ │ ├── babel-plugin-constant-folding@1.0.1 
│ │ ├── babel-plugin-dead-code-elimination@1.0.2 
│ │ ├── babel-plugin-eval@1.0.1 
│ │ ├── babel-plugin-inline-environment-variables@1.0.1 
│ │ ├── babel-plugin-jscript@1.0.4 
│ │ ├── babel-plugin-member-expression-literals@1.0.1 
│ │ ├── babel-plugin-property-literals@1.0.1 
│ │ ├── babel-plugin-proto-to-assign@1.0.4 
│ │ ├── babel-plugin-react-constant-elements@1.0.3 
│ │ ├── babel-plugin-react-display-name@1.0.3 
│ │ ├── babel-plugin-remove-console@1.0.1 
│ │ ├── babel-plugin-remove-debugger@1.0.1 
│ │ ├── babel-plugin-runtime@1.0.7 
│ │ ├─┬ babel-plugin-undeclared-variables-check@1.0.2 
│ │ │ └── leven@1.0.2 
│ │ ├── babel-plugin-undefined-to-void@1.1.6 
│ │ ├── babylon@5.8.34 
│ │ ├── bluebird@2.10.2 
│ │ ├─┬ chalk@1.1.1 
│ │ │ ├── ansi-styles@2.1.0 
│ │ │ ├── escape-string-regexp@1.0.4 
│ │ │ ├─┬ has-ansi@2.0.0 
│ │ │ │ └── ansi-regex@2.0.0 
│ │ │ ├── strip-ansi@3.0.0 
│ │ │ └── supports-color@2.0.0 
│ │ ├── core-js@1.2.6 
│ │ ├─┬ debug@2.2.0 
│ │ │ └── ms@0.7.1 
│ │ ├─┬ detect-indent@3.0.1 
│ │ │ └── get-stdin@4.0.1 
│ │ ├── esutils@2.0.2 
│ │ ├── globals@6.4.1 
│ │ ├─┬ home-or-tmp@1.0.0 
│ │ │ └── user-home@1.1.1 
│ │ ├─┬ is-integer@1.0.6 
│ │ │ └─┬ is-finite@1.0.1 
│ │ │   └── number-is-nan@1.0.0 
│ │ ├── js-tokens@1.0.1 
│ │ ├── json5@0.4.0 
│ │ ├─┬ line-numbers@0.2.0 
│ │ │ └── left-pad@0.0.3 
│ │ ├── minimatch@2.0.4 
│ │ ├── private@0.1.6 
│ │ ├─┬ regenerator@0.8.40 
│ │ │ ├─┬ commoner@0.10.4 
│ │ │ │ ├─┬ detective@4.3.1 
│ │ │ │ │ ├── acorn@1.2.2 
│ │ │ │ │ └── defined@1.0.0 
│ │ │ │ ├── iconv-lite@0.4.13 
│ │ │ │ └── q@1.4.1 
│ │ │ ├─┬ defs@1.1.1 
│ │ │ │ ├─┬ alter@0.2.0 
│ │ │ │ │ └── stable@0.1.5 
│ │ │ │ ├── ast-traverse@0.1.1 
│ │ │ │ ├── breakable@1.0.0 
│ │ │ │ ├── simple-fmt@0.1.0 
│ │ │ │ ├── simple-is@0.2.0 
│ │ │ │ ├── stringmap@0.2.2 
│ │ │ │ ├── stringset@0.2.1 
│ │ │ │ ├── tryor@0.1.2 
│ │ │ │ └─┬ yargs@3.27.0 
│ │ │ │   ├── camelcase@1.2.1 
│ │ │ │   ├─┬ cliui@2.1.0 
│ │ │ │   │ ├─┬ center-align@0.1.2 
│ │ │ │   │ │ ├─┬ align-text@0.1.3 
│ │ │ │   │ │ │ ├── kind-of@2.0.1 
│ │ │ │   │ │ │ └── longest@1.0.1 
│ │ │ │   │ │ └── lazy-cache@0.2.7 
│ │ │ │   │ ├── right-align@0.1.3 
│ │ │ │   │ └── wordwrap@0.0.2 
│ │ │ │   ├── decamelize@1.1.2 
│ │ │ │   ├─┬ os-locale@1.4.0 
│ │ │ │   │ └─┬ lcid@1.0.0 
│ │ │ │   │   └── invert-kv@1.0.0 
│ │ │ │   ├── window-size@0.1.4 
│ │ │ │   └── y18n@3.2.0 
│ │ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb 
│ │ │ └─┬ recast@0.10.33 
│ │ │   └── ast-types@0.8.12 
│ │ ├─┬ regexpu@1.3.0 
│ │ │ ├── esprima@2.7.1 
│ │ │ ├── regenerate@1.2.1 
│ │ │ ├── regjsgen@0.2.0 
│ │ │ └─┬ regjsparser@0.1.5 
│ │ │   └── jsesc@0.5.0 
│ │ ├── repeating@1.1.3 
│ │ ├── resolve@1.1.6 
│ │ ├── shebang-regex@1.0.0 
│ │ ├─┬ source-map-support@0.2.10 
│ │ │ └── source-map@0.1.32 
│ │ ├── to-fast-properties@1.0.1 
│ │ ├── trim-right@1.0.1 
│ │ └── try-resolve@1.0.1 
│ ├─┬ chokidar@1.4.1 
│ │ ├─┬ anymatch@1.3.0 
│ │ │ ├── arrify@1.0.1 
│ │ │ └─┬ micromatch@2.3.7 
│ │ │   ├─┬ arr-diff@2.0.0 
│ │ │   │ └── arr-flatten@1.0.1 
│ │ │   ├── array-unique@0.2.1 
│ │ │   ├─┬ braces@1.8.3 
│ │ │   │ ├─┬ expand-range@1.8.1 
│ │ │   │ │ └─┬ fill-range@2.2.3 
│ │ │   │ │   ├─┬ is-number@2.1.0 
│ │ │   │ │   │ └── kind-of@3.0.2 
│ │ │   │ │   ├── isobject@2.0.0 
│ │ │   │ │   ├─┬ randomatic@1.1.5 
│ │ │   │ │   │ └── kind-of@3.0.2 
│ │ │   │ │   └── repeat-string@1.5.2 
│ │ │   │ ├── preserve@0.2.0 
│ │ │   │ └── repeat-element@1.1.2 
│ │ │   ├── expand-brackets@0.1.4 
│ │ │   ├─┬ extglob@0.3.1 
│ │ │   │ ├─┬ ansi-green@0.1.1 
│ │ │   │ │ └── ansi-wrap@0.1.0 
│ │ │   │ └── success-symbol@0.1.0 
│ │ │   ├── filename-regex@2.0.0 
│ │ │   ├─┬ kind-of@3.0.2 
│ │ │   │ └── is-buffer@1.1.0 
│ │ │   ├── normalize-path@2.0.1 
│ │ │   ├─┬ object.omit@2.0.0 
│ │ │   │ ├─┬ for-own@0.1.3 
│ │ │   │ │ └── for-in@0.1.4 
│ │ │   │ └── is-extendable@0.1.1 
│ │ │   ├─┬ parse-glob@3.0.4 
│ │ │   │ ├── glob-base@0.3.0 
│ │ │   │ └── is-dotfile@1.0.2 
│ │ │   └─┬ regex-cache@0.4.2 
│ │ │     ├── is-equal-shallow@0.1.3 
│ │ │     └── is-primitive@2.0.0 
│ │ ├── async-each@0.1.6 
│ │ ├── glob-parent@2.0.0 
│ │ ├─┬ is-binary-path@1.0.1 
│ │ │ └── binary-extensions@1.4.0 
│ │ ├─┬ is-glob@2.0.1 
│ │ │ └── is-extglob@1.0.0 
│ │ └─┬ readdirp@2.0.0 
│ │   └─┬ readable-stream@2.0.5 
│ │     ├── isarray@0.0.1 
│ │     └── process-nextick-args@1.0.6 
│ ├─┬ commander@2.9.0 
│ │ └── graceful-readlink@1.0.1 
│ ├── convert-source-map@1.1.2 
│ ├── fs-readdir-recursive@0.1.2 
│ ├─┬ glob@5.0.15 
│ │ └─┬ inflight@1.0.4 
│ │   ├── once@1.3.3 
│ │   └── wrappy@1.0.1 
│ ├── lodash@3.10.1 
│ ├── output-file-sync@1.1.1 
│ ├── path-exists@1.0.0 
│ ├── path-is-absolute@1.0.0 
│ ├── slash@1.0.0 
│ └── source-map@0.5.3 
├── bash-color@0.0.3  extraneous
├─┬ blob-to-buffer@1.2.3 
│ └─┬ typedarray-to-buffer@3.0.4 
│   └── is-typedarray@1.0.0 
├── broadcast-stream@0.0.0  extraneous
├── classnames@2.2.1 
├─┬ electron-builder@2.5.0 
│ ├─┬ fs-extra@0.26.3 
│ │ ├── graceful-fs@4.1.2 
│ │ ├── jsonfile@2.2.3 
│ │ └── klaw@1.1.2 
│ ├─┬ lodash.assign@3.2.0 
│ │ ├── lodash._baseassign@3.2.0 
│ │ ├─┬ lodash._createassigner@3.1.1 
│ │ │ └── lodash._bindcallback@3.0.1 
│ │ └─┬ lodash.keys@3.1.2 
│ │   ├── lodash._getnative@3.9.1 
│ │   └── lodash.isarguments@3.0.4 
│ ├─┬ lodash.camelcase@3.0.1 
│ │ └─┬ lodash._createcompounder@3.0.0 
│ │   ├── lodash.deburr@3.0.2 
│ │   └── lodash.words@3.0.2 
│ ├─┬ lodash.template@3.6.2 
│ │ ├── lodash._basecopy@3.0.1 
│ │ ├── lodash._basetostring@3.0.1 
│ │ ├── lodash._basevalues@3.0.0 
│ │ ├── lodash._isiterateecall@3.0.9 
│ │ ├── lodash._reinterpolate@3.0.0 
│ │ ├── lodash.escape@3.0.0 
│ │ ├── lodash.restparam@3.6.1 
│ │ └── lodash.templatesettings@3.1.0 
│ ├─┬ meow@3.6.0 
│ │ ├─┬ camelcase-keys@2.0.0 
│ │ │ ├── camelcase@2.0.1 
│ │ │ └── map-obj@1.0.1 
│ │ ├─┬ loud-rejection@1.2.0 
│ │ │ └── signal-exit@2.1.2 
│ │ ├─┬ normalize-package-data@2.3.5 
│ │ │ ├── hosted-git-info@2.1.4 
│ │ │ ├─┬ is-builtin-module@1.0.0 
│ │ │ │ └── builtin-modules@1.1.0 
│ │ │ ├── semver@5.1.0 
│ │ │ └─┬ validate-npm-package-license@3.0.1 
│ │ │   ├─┬ spdx-correct@1.0.2 
│ │ │   │ └── spdx-license-ids@1.1.0 
│ │ │   └─┬ spdx-expression-parse@1.0.2 
│ │ │     └── spdx-exceptions@1.0.4 
│ │ ├─┬ read-pkg-up@1.0.1 
│ │ │ ├─┬ find-up@1.1.0 
│ │ │ │ ├── path-exists@2.1.0 
│ │ │ │ └─┬ pinkie-promise@2.0.0 
│ │ │ │   └── pinkie@2.0.1 
│ │ │ └─┬ read-pkg@1.1.0 
│ │ │   ├─┬ load-json-file@1.1.0 
│ │ │   │ ├─┬ parse-json@2.2.0 
│ │ │   │ │ └─┬ error-ex@1.3.0 
│ │ │   │ │   └── is-arrayish@0.2.1 
│ │ │   │ ├── pify@2.3.0 
│ │ │   │ └─┬ strip-bom@2.0.0 
│ │ │   │   └── is-utf8@0.2.1 
│ │ │   └── path-type@1.1.0 
│ │ ├─┬ redent@1.0.0 
│ │ │ ├─┬ indent-string@2.1.0 
│ │ │ │ └── repeating@2.0.0 
│ │ │ └── strip-indent@1.0.1 
│ │ └── trim-newlines@1.0.0 
│ └─┬ mkdirp@0.5.1 
│   └── minimist@0.0.8 
├─┬ electron-packager@4.2.0 
│ ├─┬ asar@0.6.1 
│ │ ├── chromium-pickle-js@0.1.0 
│ │ ├── commander@2.3.0 
│ │ └── cuint@0.1.5 
│ ├─┬ electron-download@1.4.1 
│ │ ├── home-path@1.0.1 
│ │ ├─┬ nugget@1.6.0 
│ │ │ ├── pretty-bytes@1.0.4 
│ │ │ ├─┬ progress-stream@1.2.0 
│ │ │ │ ├── speedometer@0.1.4 
│ │ │ │ └─┬ through2@0.2.3 
│ │ │ │   ├── readable-stream@1.1.13 
│ │ │ │   └─┬ xtend@2.1.2 
│ │ │ │     └── object-keys@0.4.0 
│ │ │ ├─┬ request@2.67.0 
│ │ │ │ ├── aws-sign2@0.6.0 
│ │ │ │ ├── bl@1.0.0 
│ │ │ │ ├── caseless@0.11.0 
│ │ │ │ ├─┬ combined-stream@1.0.5 
│ │ │ │ │ └── delayed-stream@1.0.0 
│ │ │ │ ├── extend@3.0.0 
│ │ │ │ ├── forever-agent@0.6.1 
│ │ │ │ ├── form-data@1.0.0-rc3 
│ │ │ │ ├─┬ har-validator@2.0.3 
│ │ │ │ │ └─┬ is-my-json-valid@2.12.3 
│ │ │ │ │   ├── generate-function@2.0.0 
│ │ │ │ │   ├─┬ generate-object-property@1.2.0 
│ │ │ │ │   │ └── is-property@1.0.2 
│ │ │ │ │   └── jsonpointer@2.0.0 
│ │ │ │ ├─┬ hawk@3.1.2 
│ │ │ │ │ ├── boom@2.10.1 
│ │ │ │ │ ├── cryptiles@2.0.5 
│ │ │ │ │ ├── hoek@2.16.3 
│ │ │ │ │ └── sntp@1.0.9 
│ │ │ │ ├─┬ http-signature@1.1.0 
│ │ │ │ │ ├─┬ jsprim@1.2.2 
│ │ │ │ │ │ ├── extsprintf@1.0.2 
│ │ │ │ │ │ ├── json-schema@0.2.2 
│ │ │ │ │ │ └── verror@1.3.6 
│ │ │ │ │ └─┬ sshpk@1.7.1 
│ │ │ │ │   ├── asn1@0.2.3 
│ │ │ │ │   ├── assert-plus@0.2.0 
│ │ │ │ │   ├── dashdash@1.10.1 
│ │ │ │ │   ├── ecc-jsbn@0.1.1 
│ │ │ │ │   ├── jodid25519@1.0.2 
│ │ │ │ │   ├── jsbn@0.1.0 
│ │ │ │ │   └── tweetnacl@0.13.2 
│ │ │ │ ├── isstream@0.1.2 
│ │ │ │ ├── oauth-sign@0.8.0 
│ │ │ │ └── qs@5.2.0 
│ │ │ ├── single-line-log@0.4.1 
│ │ │ └── throttleit@0.0.2 
│ │ └─┬ rc@1.1.5 
│ │   └── strip-json-comments@1.0.4 
│ ├─┬ extract-zip@1.3.0 
│ │ ├── async@1.5.0 
│ │ ├─┬ concat-stream@1.5.0 
│ │ │ └── typedarray@0.0.6 
│ │ ├── debug@0.7.4 
│ │ ├─┬ mkdirp@0.5.0 
│ │ │ └── minimist@0.0.8 
│ │ └─┬ yauzl@2.3.1 
│ │   ├── fd-slicer@1.0.1 
│ │   └── pend@1.2.0 
│ ├── minimist@1.2.0 
│ ├── mv@2.1.1 
│ ├── ncp@2.0.0 
│ ├─┬ plist@1.2.0 
│ │ ├── base64-js@0.0.8 
│ │ ├── util-deprecate@1.0.2 
│ │ ├── xmlbuilder@4.0.0 
│ │ └── xmldom@0.1.19 
│ ├── rcedit@0.3.0 
│ └─┬ rimraf@2.4.5 
│   └─┬ glob@6.0.1 
│     └── once@1.3.3 
├── electron-prebuilt@0.36.1 
├── emoji-named-characters@1.0.2 
├── graphmitter@1.6.3  extraneous
├─┬ history@1.13.1 
│ ├── deep-equal@1.0.1 
│ ├─┬ invariant@2.2.0 
│ │ └── loose-envify@1.1.0 
│ ├── qs@4.0.0 
│ └── warning@2.1.0 
├─┬ hyperscript@1.4.7 
│ ├── browser-split@0.0.0 
│ ├─┬ class-list@0.1.1 
│ │ └── indexof@0.0.1 
│ └── html-element@1.3.0 
├── image-loaded@0.0.2 
├── ip@1.1.0 
├─┬ less@1.7.5 
│ ├─┬ clean-css@2.2.23 
│ │ └── commander@2.2.0 
│ ├── graceful-fs@3.0.8 
│ ├── mime@1.2.11 
│ ├─┬ request@2.40.0 
│ │ ├── aws-sign2@0.5.0 
│ │ ├── forever-agent@0.5.2 
│ │ ├─┬ form-data@0.1.4 
│ │ │ ├── async@0.9.2 
│ │ │ └─┬ combined-stream@0.0.7 
│ │ │   └── delayed-stream@0.0.5 
│ │ ├─┬ hawk@1.1.1 
│ │ │ ├── boom@0.4.2 
│ │ │ ├── cryptiles@0.2.2 
│ │ │ ├── hoek@0.9.1 
│ │ │ └── sntp@0.2.4 
│ │ ├─┬ http-signature@0.10.1 
│ │ │ ├── asn1@0.1.11 
│ │ │ ├── assert-plus@0.1.5 
│ │ │ └── ctype@0.5.3 
│ │ ├── json-stringify-safe@5.0.1 
│ │ ├── mime-types@1.0.2 
│ │ ├── node-uuid@1.4.7 
│ │ ├── oauth-sign@0.3.0 
│ │ ├── qs@1.0.2 
│ │ ├── stringstream@0.0.5 
│ │ ├── tough-cookie@2.2.1 
│ │ └── tunnel-agent@0.4.2 
│ └─┬ source-map@0.1.43 
│   └── amdefine@1.0.0 
├── level-memview@0.0.0  extraneous
├── level-packager@1.2.0  extraneous
├── mdmanifest@1.0.7  extraneous
├─┬ mime-types@2.1.8 
│ └── mime-db@1.20.0 
├── moment@2.10.6 
├─┬ multiblob@1.8.1 
│ ├── blake2s@1.0.1 
│ ├─┬ cont@1.0.3 
│ │ ├── continuable@1.2.0 
│ │ ├─┬ continuable-para@1.2.0 
│ │ │ ├─┬ continuable-hash@0.1.4 
│ │ │ │ └── continuable@1.1.8 
│ │ │ └─┬ continuable-list@0.1.6 
│ │ │   └── continuable@1.1.8 
│ │ └── continuable-series@1.2.0 
│ ├── explain-error@1.0.1 
│ ├─┬ pull-defer@0.1.1 
│ │ └─┬ pull-stream@2.26.1 
│ │   └── pull-core@1.1.0 
│ ├─┬ pull-glob@1.0.1 
│ │ ├─┬ pull-fs@1.1.4 
│ │ │ ├── pull-split@0.1.2 
│ │ │ └── pull-stream@2.20.1 
│ │ └── pull-stream@2.20.1 
│ ├─┬ pull-notify@0.0.2 
│ │ └── pull-pushable@2.0.0 
│ ├── pull-stream@3.0.1 
│ ├─┬ rc@0.5.5 
│ │ ├── deep-extend@0.2.11 
│ │ ├── ini@1.3.4 
│ │ ├── minimist@0.0.10 
│ │ └── strip-json-comments@0.1.3 
│ └── rimraf@2.2.8 
├── multicb@1.2.0 
├─┬ muxrpc@6.2.1 
│ ├── packet-stream@2.0.0 
│ ├─┬ packet-stream-codec@1.1.0 
│ │ ├── pull-reader@1.1.2 
│ │ ├─┬ pull-stream@2.27.0 
│ │ │ └── pull-core@1.1.0 
│ │ └─┬ pull-through@1.0.17 
│ │   ├── looper@3.0.0 
│ │   └─┬ pull-stream@2.27.0 
│ │     └── pull-core@1.1.0 
│ ├── pull-goodbye@0.0.1 
│ └─┬ pull-stream@2.27.0 
│   └── pull-core@1.1.0 
├── muxrpc-validation@2.0.1  extraneous
├── muxrpcli@1.0.4  extraneous
├── mynosql@2.3.3  extraneous
├── mynosql-query@1.0.0  extraneous
├─┬ ngraph.graph@0.0.12 
│ └── ngraph.events@0.0.3 
├─┬ ngraph.svg@0.0.15 
│ ├── hammerjs@2.0.4 
│ ├─┬ ngraph.forcelayout@0.0.22 
│ │ └─┬ ngraph.physics.simulator@0.0.12 
│ │   ├── ngraph.expose@0.0.0 
│ │   ├── ngraph.physics.primitives@0.0.7 
│ │   ├── ngraph.quadtreebh@0.0.3 
│ │   └── ngraph.random@0.0.1 
│ ├── ngraph.merge@0.0.1 
│ ├─┬ simplesvg@0.0.10 
│ │ └── add-event-listener@0.0.1 
│ └── wheel@0.0.1 
├── nicedate@0.0.0 
├── nomnom@1.8.0  extraneous
├── non-private-ip@1.1.0  extraneous
├── observ-debounce@1.1.1  extraneous
├── observable@2.1.4 
├── on-wakeup@1.0.1  extraneous
├─┬ osenv@0.1.3 
│ ├── os-homedir@1.0.1 
│ └── os-tmpdir@1.0.1 
├── patchwork-threads@1.1.6 
├── pause-offscreen@1.0.0 
├── phoenix-router@1.0.0 
├── published-working-tree@0.0.3 
├─┬ pull-cat@1.1.8 
│ └── pull-core@1.0.0 
├── pull-identify-filetype@1.0.2 
├── pull-ipc@0.0.1 
├─┬ pull-level@1.2.0 
│ ├─┬ level-post@1.0.4 
│ │ ├── buffer-equal@0.0.1 
│ │ ├── defined@0.0.0 
│ │ └── string-range@1.2.2 
│ ├─┬ pull-window@2.1.3 
│ │ └── looper@2.0.0 
│ └── stream-to-pull-stream@1.3.1 
├── pull-many@1.0.6  extraneous
├── pull-merge@1.0.2 
├── pull-notify@0.0.0 
├─┬ pull-paramap@1.1.3 
│ └── pull-stream@2.20.1 
├─┬ pull-pushable@1.1.4 
│ └── pull-stream@2.18.3 
├─┬ pull-stream@2.28.4 
│ └── pull-core@1.1.0 
├── pull-stream-to-stream@1.3.0 
├── pull-stringify@1.2.2  extraneous
├─┬ react@0.14.3 
│ ├─┬ envify@3.4.0 
│ │ └─┬ jstransform@10.1.0 
│ │   ├── base62@0.1.1 
│ │   ├── esprima-fb@13001.1001.0-dev-harmony-fb 
│ │   └── source-map@0.1.31 
│ └─┬ fbjs@0.3.2 
│   ├─┬ promise@7.0.4 
│   │ └── asap@2.0.3 
│   ├── ua-parser-js@0.7.10 
│   └── whatwg-fetch@0.9.0 
├── react-addons-css-transition-group@0.14.3 
├── react-dom@0.14.3 
├─┬ react-infinite@0.5.11 
│ ├── lodash.isarray@3.0.4 
│ ├── lodash.isfinite@3.2.0 
│ └── object-assign@4.0.1 
├─┬ react-modal@0.6.1 
│ ├── element-class@0.2.2 
│ └── exenv@1.2.0 
├── react-router@1.0.2 
├── rimraf@2.2.8 
├── ssb-client@3.0.0  extraneous
├─┬ ssb-config@1.1.0 
│ ├── deep-extend@0.4.0 
│ ├─┬ non-private-ip@1.3.0 
│ │ └── ip@0.3.3 
│ └─┬ rc@0.6.0 
│   ├── deep-extend@0.2.11 
│   ├── minimist@0.0.10 
│   └── strip-json-comments@0.1.3 
├── ssb-feed@2.0.0  extraneous
├─┬ ssb-keys@4.0.10 
│ ├─┬ chloride@2.0.1 
│ │ ├─┬ chloridedown@1.0.22 
│ │ │ └── nan@2.1.0 
│ │ └─┬ sodium-browserify@1.0.3 
│ │   ├─┬ libsodium-wrappers@0.2.12 
│ │   │ └── libsodium@0.2.12 
│ │   └── sha.js@2.4.4 
│ ├── deep-equal@0.2.2 
│ ├── eccjs@0.3.0  (git://github.com/dominictarr/eccjs.git#586f6d47507184a2efe84684ed0a30605cbc43a5)
│ ├── hmac@1.0.1 
│ └── private-box@0.0.3 
├── ssb-marked@0.5.4 
├─┬ ssb-msg-schemas@6.1.0 
│ ├─┬ pull-stream@2.27.0 
│ │ └── pull-core@1.1.0 
│ └── ssb-ref@2.0.0 
├── ssb-msgs@5.2.0 
├─┬ ssb-ref@2.2.2 
│ ├── ip-regex@1.0.3 
│ └── is-valid-domain@0.0.1 
├── stack@0.1.0 
├── stream-to-pull-stream@1.6.6 
├── suggest-box@1.1.10 
├─┬ tape@3.0.3 
│ ├── deep-equal@0.2.2 
│ ├── defined@0.0.0 
│ ├─┬ glob@3.2.11 
│ │ └── minimatch@0.3.0 
│ ├── inherits@2.0.1 
│ ├── object-inspect@0.4.0 
│ ├── resumer@0.0.0 
│ └── through@2.3.8 
├── text-node-searcher@1.1.0 
└── xtend@4.0.1 

npm WARN EPACKAGEJSON ssb-patchwork@2.0.5 license should be a valid SPDX license expression
npm ERR! Linux 4.2.4-zen+
npm ERR! argv "/home/cel/.nvm/versions/node/v5.3.0/bin/node" "/home/cel/.nvm/versions/node/v5.3.0/bin/npm" "i"
npm ERR! node v5.3.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE

npm ERR! leveldown@1.4.3 install: `prebuild --download`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the leveldown@1.4.3 install script 'prebuild --download'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     prebuild --download
npm ERR! You can get their info via:
npm ERR!     npm owner ls leveldown
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/src/patchwork/npm-debug.log

Edit: npm start fails:

> ssb-patchwork@2.0.5 start /usr/local/src/patchwork
> electron .

fs.js:584
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/usr/local/src/patchwork/node_modules/electron-prebuilt/path.txt'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.readFileSync (fs.js:431:33)
    at Object.<anonymous> (/usr/local/src/patchwork/node_modules/electron-prebuilt/index.js:4:42)
    at Module._compile (module.js:398:26)
    at Object.Module._extensions..js (module.js:405:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)

npm ERR! Linux 4.2.4-zen+
npm ERR! argv "/home/cel/.nvm/versions/node/v5.3.0/bin/node" "/home/cel/.nvm/versions/node/v5.3.0/bin/npm" "start"
npm ERR! node v5.3.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR! ssb-patchwork@2.0.5 start: `electron .`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ssb-patchwork@2.0.5 start script 'electron .'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ssb-patchwork package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron .
npm ERR! You can get their info via:
npm ERR!     npm owner ls ssb-patchwork
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/src/patchwork/npm-debug.log
pfrazee commented 8 years ago

In my experience this has been the result of a race condition in older versions of npm. What version are you using? It stopped happening to me when I upgraded to npm 3.5.2

clehner commented 8 years ago

npm 3.3.12. How do I upgrade it? I used nvm to pick node v5.3.0, the latest version it showed.

pfrazee commented 8 years ago

Try going to ~/.nvm/versions/node/v5.3.0/lib/ and running npm install npm.

clehner commented 8 years ago

That worked, thanks!

pfrazee commented 8 years ago

No problem. Kind of a PITA! I'm going to see if the nvm guys can update the default npm install.