mappum / webcoin

:globe_with_meridians::moneybag: SPV Bitcoin client for Node.js and the browser
412 stars 60 forks source link

Lots of build warnings #7

Closed paulkernfeld closed 8 years ago

paulkernfeld commented 8 years ago

This might not be super high priority: my build succeeds and I believe that my installation works when I install wrtc, but there are a lot of warnings caused by optional dependencies, which makes it hard to see if there are important problems. I'm running node 5.5 on OSX 10.10.

paul ~/repos/webcoin master $ npm i
loadDep:socks5-client → 3 ▀ ╢████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDevDep:tape → network ▀ ╢████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine semantic-release@3.4.1: wanted: {"iojs":"^1","node":"^0.10","npm":"^2"} (current: {"node":"5.5.0","npm":"3npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN prefer global node-gyp@3.2.1 should be installed with -g
npm WARN prefer global babel@5.8.35 should be installed with -g

> bufferutil@1.1.0 install /Users/paul/repos/webcoin/node_modules/bufferutil
> node-gyp rebuild

  array-index setting "length": 0 +0ms
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion
      from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument
      ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2
      arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5
      arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to
      'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not
      viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st
      argument
class Local {
      ^
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not
      viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local'
      against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against
      'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/bufferutil.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization
      'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization
      'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization
      'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization
      'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.5.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/paul/repos/webcoin/node_modules/bufferutil
gyp ERR! node -v v5.5.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:bufferutil@1.1.0 bufferutil@1.1.0 install: `node-gyp rebuild`
npm WARN install:bufferutil@1.1.0 Exit status 1

> fsevents@1.0.6 install /Users/paul/repos/webcoin/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/paul/repos/webcoin/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node" is installed via remote

> utf-8-validate@1.1.0 install /Users/paul/repos/webcoin/node_modules/utf-8-validate
> node-gyp rebuild

  array-index setting "length": 0 +0ms
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion
      from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument
      ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2
      arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/paul/.node-gyp/5.5.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5
      arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to
      'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not
      viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st
      argument
class Local {
      ^
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not
      viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local'
      against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against
      'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/validation.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization
      'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization
      'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization
      'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/paul/.node-gyp/5.5.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization
      'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/validation/src/validation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.5.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/paul/repos/webcoin/node_modules/utf-8-validate
gyp ERR! node -v v5.5.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:utf-8-validate@1.1.0 utf-8-validate@1.1.0 install: `node-gyp rebuild`
npm WARN install:utf-8-validate@1.1.0 Exit status 1

> wrtc@0.0.55 install /Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc
> node-pre-gyp install --fallback-to-build

gyp: /Users/paul/.node-gyp/5.5.0/common.gypi not found (cwd: /Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.5.0/bin/node" "/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v47-darwin-x64/wrtc.node" "--module_name=wrtc" "--module_path=/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v47-darwin-x64"
gyp ERR! cwd /Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc
gyp ERR! node -v v5.5.0
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/5.5.0/bin/node /Users/paul/repos/webcoin/node_modules/peerhub/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v47-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v47-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/node_modules/node-pre-gyp/lib/util/compile.js:73:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:100:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:821:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Darwin 14.5.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/5.5.0/bin/node" "/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc
node-pre-gyp ERR! node -v v5.5.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.4
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/5.5.0/bin/node /Users/paul/repos/webcoin/node_modules/peerhub/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v47-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/paul/repos/webcoin/node_modules/peerhub/node_modules/wrtc/build/wrtc/v0.0.55/Release/node-v47-darwin-x64' (1)
npm WARN install:wrtc@0.0.55 wrtc@0.0.55 install: `node-pre-gyp install --fallback-to-build`
npm WARN install:wrtc@0.0.55 Exit status 1

> buffertools@2.1.3 install /Users/paul/repos/webcoin/node_modules/buffertools
> node-gyp rebuild

  array-index setting "length": 0 +0ms
  CXX(target) Release/obj.target/buffertools/buffertools.o
  SOLINK_MODULE(target) Release/buffertools.node

> leveldown@1.4.4 install /Users/paul/repos/webcoin/node_modules/leveldown
> prebuild --install

> wrtc@0.0.58 install /Users/paul/repos/webcoin/node_modules/wrtc
> node-pre-gyp install --fallback-to-build

gyp: /Users/paul/.node-gyp/5.5.0/common.gypi not found (cwd: /Users/paul/repos/webcoin/node_modules/wrtc) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/paul/repos/webcoin/node_modules/wrtc/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.5.0/bin/node" "/Users/paul/repos/webcoin/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/paul/repos/webcoin/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v47-darwin-x64/wrtc.node" "--module_name=wrtc" "--module_path=/Users/paul/repos/webcoin/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v47-darwin-x64"
gyp ERR! cwd /Users/paul/repos/webcoin/node_modules/wrtc
gyp ERR! node -v v5.5.0
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/5.5.0/bin/node /Users/paul/repos/webcoin/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/paul/repos/webcoin/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v47-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/paul/repos/webcoin/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v47-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/paul/repos/webcoin/node_modules/wrtc/node_modules/node-pre-gyp/lib/util/compile.js:73:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:100:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:821:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Darwin 14.5.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/5.5.0/bin/node" "/Users/paul/repos/webcoin/node_modules/wrtc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/paul/repos/webcoin/node_modules/wrtc
node-pre-gyp ERR! node -v v5.5.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.4
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/5.5.0/bin/node /Users/paul/repos/webcoin/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/paul/repos/webcoin/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v47-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/paul/repos/webcoin/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v47-darwin-x64' (1)
npm WARN install:wrtc@0.0.58 wrtc@0.0.58 install: `node-pre-gyp install --fallback-to-build`
npm WARN install:wrtc@0.0.58 Exit status 1

> spawn-sync@1.0.15 postinstall /Users/paul/repos/webcoin/node_modules/spawn-sync
> node postinstall

> webcoin@0.0.0-semantically-released prepublish /Users/paul/repos/webcoin
> semantic-release pre

webcoin@0.0.0-semantically-released /Users/paul/repos/webcoin
├── async@1.5.2
├── bitcoin@2.4.0
├─┬ bitcore-lib@0.13.12
│ ├── bn.js@2.0.4
│ ├── bs58@2.0.0
│ ├── buffer-compare@1.0.0
│ ├─┬ elliptic@3.0.3
│ │ ├── brorand@1.0.5
│ │ └── hash.js@1.0.3
│ ├── inherits@2.0.1
│ ├── lodash@3.10.1
│ └── sha512@0.0.1
├─┬ bitcore-p2p@1.1.0
│ ├── bloom-filter@0.2.0
│ ├── buffers@0.1.1
│ └─┬ socks5-client@0.3.6
│   ├─┬ ipv6@3.1.3
│   │ ├─┬ cli@0.4.5
│   │ │ └── glob@6.0.4
│   │ ├─┬ cliff@0.1.10
│   │ │ ├── colors@1.0.3
│   │ │ ├── eyes@0.1.8
│   │ │ └─┬ winston@0.8.3
│   │ │   ├── async@0.2.10
│   │ │   ├── colors@0.6.2
│   │ │   ├── cycle@1.0.3
│   │ │   ├── pkginfo@0.3.1
│   │ │   └── stack-trace@0.0.9
│   │ └── sprintf@0.1.5
│   └── network-byte-order@0.2.0
├── bitcore-p2p-browserify@1.1.0
├── browserify-buffertools@1.0.2
├── buffertools@2.1.3
├─┬ level-js@2.2.3
│ ├─┬ abstract-leveldown@0.12.4
│ │ └── xtend@3.0.0
│ ├── idb-wrapper@1.6.1
│ ├── isbuffer@0.0.0
│ ├── ltgt@2.1.2
│ ├── typedarray-to-buffer@1.0.4
│ └─┬ xtend@2.1.2
│   └── object-keys@0.4.0
├─┬ leveldown@1.4.4
│ ├─┬ abstract-leveldown@2.4.1
│ │ └── xtend@4.0.1
│ ├── bindings@1.2.1
│ ├── fast-future@1.0.1
│ ├── nan@2.2.0
│ └─┬ prebuild@2.9.0
│   ├── expand-template@1.0.2
│   ├─┬ ghreleases@1.0.4
│   │ ├── after@0.8.1
│   │ ├── ghrepos@2.0.0
│   │ ├─┬ ghutils@3.2.0
│   │ │ ├─┬ jsonist@1.2.0
│   │ │ │ ├─┬ hyperquest@1.2.0
│   │ │ │ │ ├─┬ duplexer2@0.0.2
│   │ │ │ │ │ └── readable-stream@1.1.13
│   │ │ │ │ └─┬ through2@0.6.5
│   │ │ │ │   ├── readable-stream@1.0.33
│   │ │ │ │   └── xtend@4.0.1
│   │ │ │ └── xtend@4.0.1
│   │ │ └── xtend@4.0.1
│   │ ├── simple-mime@0.1.0
│   │ ├── url-template@2.0.6
│   │ └── xtend@4.0.1
│   ├── github-from-package@0.0.0
│   ├── home-dir@1.0.0
│   ├─┬ node-gyp@3.2.1
│   │ ├─┬ glob@4.5.3
│   │ │ └── minimatch@2.0.10
│   │ ├── graceful-fs@4.1.2
│   │ ├─┬ minimatch@1.0.0
│   │ │ └── sigmund@1.0.1
│   │ ├── npmlog@1.2.1
│   │ ├─┬ path-array@1.0.1
│   │ │ └─┬ array-index@1.0.0
│   │ │   └── es6-symbol@3.0.2
│   │ ├── rimraf@2.5.1
│   │ ├── tar@2.2.1
│   │ └─┬ which@1.2.4
│   │   ├─┬ is-absolute@0.1.7
│   │   │ └── is-relative@0.1.3
│   │   └── isexe@1.1.1
│   ├── noop-logger@0.1.0
│   ├─┬ npmlog@2.0.2
│   │ ├── ansi@0.3.1
│   │ ├─┬ are-we-there-yet@1.0.6
│   │ │ └── delegates@1.0.0
│   │ └─┬ gauge@1.2.5
│   │   ├── has-unicode@2.0.0
│   │   ├─┬ lodash.pad@3.2.1
│   │   │ └── lodash.repeat@3.1.1
│   │   ├─┬ lodash.padleft@3.1.1
│   │   │ ├── lodash._basetostring@3.0.1
│   │   │ └── lodash._createpadding@3.6.1
│   │   └── lodash.padright@3.1.1
│   ├─┬ pump@1.0.1
│   │ └── end-of-stream@1.1.0
│   ├─┬ rc@1.1.6
│   │ ├── deep-extend@0.4.1
│   │ └── strip-json-comments@1.0.4
│   ├─┬ simple-get@1.4.3
│   │ ├── unzip-response@1.0.0
│   │ └── xtend@4.0.1
│   ├── tar-fs@1.9.0
│   ├─┬ tar-stream@1.3.1
│   │ ├─┬ readable-stream@2.0.5
│   │ │ ├── process-nextick-args@1.0.6
│   │ │ └── util-deprecate@1.0.2
│   │ └── xtend@4.0.1
│   └── xtend@4.0.1
├─┬ levelup@1.3.1
│ ├─┬ deferred-leveldown@1.2.1
│ │ └─┬ abstract-leveldown@2.4.1
│ │   └── xtend@4.0.1
│ ├── level-codec@6.1.0
│ ├─┬ level-errors@1.0.4
│ │ └─┬ errno@0.1.4
│ │   └── prr@0.0.0
│ ├─┬ level-iterator-stream@1.3.1
│ │ ├─┬ readable-stream@1.1.13
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── isarray@0.0.1
│ │ │ └── string_decoder@0.10.31
│ │ └── xtend@4.0.1
│ ├── prr@1.0.1
│ ├── semver@5.1.0
│ └── xtend@4.0.1
├── minimist@1.2.0
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ peerhub@0.1.1
│ ├── array-shuffle@1.0.0
│ ├─┬ corsify@2.1.0
│ │ └─┬ http-methods@0.1.0
│ │   ├── body@0.1.0
│ │   └─┬ content-types@0.1.0
│ │     └─┬ iterators@0.1.0
│ │       └── ap@0.1.0
│ ├── randomstring@1.1.3
│ ├─┬ simple-peer@5.11.9
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├── get-browser-rtc@1.0.1
│ │ ├── hat@0.0.3
│ │ ├── is-typedarray@1.0.0
│ │ └─┬ once@1.3.3
│ │   └── wrappy@1.0.1
│ └─┬ ws@0.7.2
│   ├── options@0.0.6
│   └── ultron@1.0.2
├─┬ semantic-release@3.4.1
│ ├── abbrev@1.0.7
│ ├─┬ babel@5.8.35
│ │ ├─┬ babel-core@5.8.35
│ │ │ ├── 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.35
│ │ │ ├── bluebird@2.10.2
│ │ │ ├─┬ chalk@1.1.1
│ │ │ │ ├── ansi-styles@2.1.0
│ │ │ │ ├── has-ansi@2.0.0
│ │ │ │ ├── strip-ansi@3.0.0
│ │ │ │ └── supports-color@2.0.0
│ │ │ ├── core-js@1.2.6
│ │ │ ├── detect-indent@3.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.10
│ │ │ ├── private@0.1.6
│ │ │ ├─┬ regenerator@0.8.40
│ │ │ │ ├─┬ commoner@0.10.4
│ │ │ │ │ ├── detective@4.3.1
│ │ │ │ │ ├── glob@5.0.15
│ │ │ │ │ ├── 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.3
│ │ │ │ │   │ │ ├─┬ align-text@0.1.4
│ │ │ │ │   │ │ │ └── longest@1.0.1
│ │ │ │ │   │ │ └── lazy-cache@1.0.3
│ │ │ │ │   │ ├── right-align@0.1.3
│ │ │ │ │   │ └── wordwrap@0.0.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
│ │ │ ├── shebang-regex@1.0.0
│ │ │ ├─┬ source-map-support@0.2.10
│ │ │ │ └─┬ source-map@0.1.32
│ │ │ │   └── amdefine@1.0.0
│ │ │ ├── to-fast-properties@1.0.1
│ │ │ ├── trim-right@1.0.1
│ │ │ └── try-resolve@1.0.1
│ │ ├─┬ chokidar@1.4.2
│ │ │ ├─┬ 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
│ │ │ │   │ │   ├── isobject@2.0.0
│ │ │ │   │ │   └── randomatic@1.1.5
│ │ │ │   │ ├── preserve@0.2.0
│ │ │ │   │ └── repeat-element@1.1.2
│ │ │ │   ├── expand-brackets@0.1.4
│ │ │ │   ├── extglob@0.3.2
│ │ │ │   ├── filename-regex@2.0.0
│ │ │ │   ├─┬ kind-of@3.0.2
│ │ │ │   │ └── is-buffer@1.1.2
│ │ │ │   ├── 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
│ │ │ ├─┬ fsevents@1.0.6
│ │ │ │ └─┬ node-pre-gyp@0.6.17
│ │ │ │   ├─┬ mkdirp@0.5.1
│ │ │ │   │ └── minimist@0.0.8
│ │ │ │   ├─┬ nopt@3.0.6
│ │ │ │   │ └── abbrev@1.0.7
│ │ │ │   ├─┬ npmlog@2.0.0
│ │ │ │   │ ├── ansi@0.3.0
│ │ │ │   │ ├─┬ are-we-there-yet@1.0.4
│ │ │ │   │ │ ├── delegates@0.1.0
│ │ │ │   │ │ └─┬ readable-stream@1.1.13
│ │ │ │   │ │   ├── core-util-is@1.0.2
│ │ │ │   │ │   ├── isarray@0.0.1
│ │ │ │   │ │   └── string_decoder@0.10.31
│ │ │ │   │ └─┬ gauge@1.2.2
│ │ │ │   │   ├── has-unicode@1.0.1
│ │ │ │   │   ├─┬ lodash.pad@3.1.1
│ │ │ │   │   │ ├── lodash._basetostring@3.0.1
│ │ │ │   │   │ └─┬ lodash._createpadding@3.6.1
│ │ │ │   │   │   └── lodash.repeat@3.0.1
│ │ │ │   │   ├── lodash.padleft@3.1.1
│ │ │ │   │   └── lodash.padright@3.1.1
│ │ │ │   ├─┬ rc@1.1.5
│ │ │ │   │ ├── deep-extend@0.4.0
│ │ │ │   │ ├── ini@1.3.4
│ │ │ │   │ ├── minimist@1.2.0
│ │ │ │   │ └── strip-json-comments@1.0.4
│ │ │ │   ├─┬ request@2.67.0
│ │ │ │   │ ├── aws-sign2@0.6.0
│ │ │ │   │ ├─┬ bl@1.0.0
│ │ │ │   │ │ └─┬ readable-stream@2.0.4
│ │ │ │   │ │   ├── core-util-is@1.0.2
│ │ │ │   │ │   ├── inherits@2.0.1
│ │ │ │   │ │   ├── isarray@0.0.1
│ │ │ │   │ │   ├── process-nextick-args@1.0.3
│ │ │ │   │ │   ├── string_decoder@0.10.31
│ │ │ │   │ │   └── util-deprecate@1.0.2
│ │ │ │   │ ├── 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
│ │ │ │   │ │ └── async@1.5.0
│ │ │ │   │ ├─┬ har-validator@2.0.3
│ │ │ │   │ │ ├─┬ chalk@1.1.1
│ │ │ │   │ │ │ ├── ansi-styles@2.1.0
│ │ │ │   │ │ │ ├── escape-string-regexp@1.0.3
│ │ │ │   │ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │   │ │ │ │ └── ansi-regex@2.0.0
│ │ │ │   │ │ │ ├── strip-ansi@3.0.0
│ │ │ │   │ │ │ └── supports-color@2.0.0
│ │ │ │   │ │ ├─┬ commander@2.9.0
│ │ │ │   │ │ │ └── graceful-readlink@1.0.1
│ │ │ │   │ │ ├─┬ 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
│ │ │ │   │ │ │ └── xtend@4.0.1
│ │ │ │   │ │ └─┬ pinkie-promise@2.0.0
│ │ │ │   │ │   └── pinkie@2.0.1
│ │ │ │   │ ├─┬ 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
│ │ │ │   │ │ ├── assert-plus@0.1.5
│ │ │ │   │ │ ├─┬ jsprim@1.2.2
│ │ │ │   │ │ │ ├── extsprintf@1.0.2
│ │ │ │   │ │ │ ├── json-schema@0.2.2
│ │ │ │   │ │ │ └── verror@1.3.6
│ │ │ │   │ │ └─┬ sshpk@1.7.0
│ │ │ │   │ │   ├── 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
│ │ │ │   │ ├── is-typedarray@1.0.0
│ │ │ │   │ ├── isstream@0.1.2
│ │ │ │   │ ├── json-stringify-safe@5.0.1
│ │ │ │   │ ├─┬ mime-types@2.1.7
│ │ │ │   │ │ └── mime-db@1.19.0
│ │ │ │   │ ├── node-uuid@1.4.7
│ │ │ │   │ ├── oauth-sign@0.8.0
│ │ │ │   │ ├── qs@5.2.0
│ │ │ │   │ ├── stringstream@0.0.5
│ │ │ │   │ ├── tough-cookie@2.2.1
│ │ │ │   │ └── tunnel-agent@0.4.1
│ │ │ │   ├─┬ rimraf@2.4.4
│ │ │ │   │ └─┬ glob@5.0.15
│ │ │ │   │   ├─┬ inflight@1.0.4
│ │ │ │   │   │ └── wrappy@1.0.1
│ │ │ │   │   ├── inherits@2.0.1
│ │ │ │   │   ├─┬ minimatch@3.0.0
│ │ │ │   │   │ └─┬ brace-expansion@1.1.1
│ │ │ │   │   │   ├── balanced-match@0.2.1
│ │ │ │   │   │   └── concat-map@0.0.1
│ │ │ │   │   ├─┬ once@1.3.3
│ │ │ │   │   │ └── wrappy@1.0.1
│ │ │ │   │   └── path-is-absolute@1.0.0
│ │ │ │   ├── semver@5.1.0
│ │ │ │   ├─┬ tar@2.2.1
│ │ │ │   │ ├── block-stream@0.0.8
│ │ │ │   │ ├── fstream@1.0.8
│ │ │ │   │ └── inherits@2.0.1
│ │ │ │   └─┬ tar-pack@3.1.0
│ │ │ │     ├── debug@0.7.4
│ │ │ │     ├─┬ fstream-ignore@1.0.3
│ │ │ │     │ └─┬ minimatch@3.0.0
│ │ │ │     │   └─┬ brace-expansion@1.1.1
│ │ │ │     │     ├── balanced-match@0.2.1
│ │ │ │     │     └── concat-map@0.0.1
│ │ │ │     ├── graceful-fs@4.1.2
│ │ │ │     ├── once@1.1.1
│ │ │ │     ├─┬ readable-stream@1.0.33
│ │ │ │     │ ├── core-util-is@1.0.2
│ │ │ │     │ ├── inherits@2.0.1
│ │ │ │     │ ├── isarray@0.0.1
│ │ │ │     │ └── string_decoder@0.10.31
│ │ │ │     ├── rimraf@2.2.8
│ │ │ │     └── uid-number@0.0.3
│ │ │ ├── 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
│ │ │   └── minimatch@2.0.10
│ │ ├─┬ commander@2.9.0
│ │ │ └── graceful-readlink@1.0.1
│ │ ├── convert-source-map@1.1.3
│ │ ├── fs-readdir-recursive@0.1.2
│ │ ├── glob@5.0.15
│ │ ├── lodash@3.10.1
│ │ ├─┬ output-file-sync@1.1.1
│ │ │ └── xtend@4.0.1
│ │ ├── path-exists@1.0.0
│ │ ├── path-is-absolute@1.0.0
│ │ ├── slash@1.0.0
│ │ └── source-map@0.5.3
│ ├─┬ conventional-changelog@0.0.17
│ │ ├─┬ dateformat@1.0.12
│ │ │ └─┬ meow@3.7.0
│ │ │   ├─┬ camelcase-keys@2.0.0
│ │ │   │ └── camelcase@2.1.0
│ │ │   ├── decamelize@1.1.2
│ │ │   ├─┬ loud-rejection@1.2.1
│ │ │   │ ├── array-find-index@1.0.1
│ │ │   │ └── signal-exit@2.1.2
│ │ │   ├── map-obj@1.0.1
│ │ │   ├─┬ normalize-package-data@2.3.5
│ │ │   │ ├── hosted-git-info@2.1.4
│ │ │   │ ├─┬ is-builtin-module@1.0.0
│ │ │   │ │ └── builtin-modules@1.1.1
│ │ │   │ └─┬ validate-npm-package-license@3.0.1
│ │ │   │   ├─┬ spdx-correct@1.0.2
│ │ │   │   │ └── spdx-license-ids@1.2.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
│ │ │   │ └─┬ 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
│ │ │   │   │ └─┬ strip-bom@2.0.0
│ │ │   │   │   └── is-utf8@0.2.1
│ │ │   │   ├── normalize-package-data@2.3.5
│ │ │   │   └── path-type@1.1.0
│ │ │   ├─┬ redent@1.0.0
│ │ │   │ └─┬ indent-string@2.1.0
│ │ │   │   └── repeating@2.0.0
│ │ │   └── trim-newlines@1.0.0
│ │ ├─┬ event-stream@3.3.2
│ │ │ ├── duplexer@0.1.1
│ │ │ ├── from@0.1.3
│ │ │ ├── map-stream@0.1.0
│ │ │ ├── pause-stream@0.0.11
│ │ │ ├── split@0.3.3
│ │ │ └── stream-combiner@0.0.4
│ │ └─┬ normalize-package-data@1.0.3
│ │   ├── github-url-from-username-repo@1.0.2
│ │   └── semver@4.3.6
│ ├── error-first-handler@1.0.1
│ ├─┬ git-head@1.8.0
│ │ └─┬ git-refs@1.1.2
│ │   ├─┬ path-object@2.3.0
│ │   │ └─┬ lodash.assign@3.2.0
│ │   │   └── lodash._baseassign@3.2.0
│ │   └─┬ walk@2.3.9
│ │     └── foreachasync@3.0.0
│ ├─┬ github@0.2.4
│ │ └── mime@1.3.4
│ ├── github-url-from-git@1.4.0
│ ├── ini@1.3.4
│ ├─┬ npmconf@2.1.2
│ │ ├─┬ config-chain@1.1.10
│ │ │ └── proto-list@1.2.4
│ │ ├── nopt@3.0.6
│ │ ├─┬ osenv@0.1.3
│ │ │ ├── os-homedir@1.0.1
│ │ │ └── os-tmpdir@1.0.1
│ │ ├── semver@4.3.6
│ │ └── uid-number@0.0.5
│ ├── parse-github-repo-url@1.0.0
│ ├─┬ request@2.69.0
│ │ ├── aws-sign2@0.6.0
│ │ ├─┬ aws4@1.2.1
│ │ │ └── lru-cache@2.7.3
│ │ ├── bl@1.0.1
│ │ ├── 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.6
│ │ │ ├─┬ is-my-json-valid@2.12.4
│ │ │ │ ├── generate-function@2.0.0
│ │ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ │ └── is-property@1.0.2
│ │ │ │ ├── jsonpointer@2.0.0
│ │ │ │ └── xtend@4.0.1
│ │ │ └─┬ pinkie-promise@2.0.0
│ │ │   └── pinkie@2.0.4
│ │ ├─┬ hawk@3.1.3
│ │ │ ├── boom@2.10.1
│ │ │ ├── cryptiles@2.0.5
│ │ │ ├── hoek@2.16.3
│ │ │ └── sntp@1.0.9
│ │ ├─┬ http-signature@1.1.1
│ │ │ ├── assert-plus@0.2.0
│ │ │ ├─┬ jsprim@1.2.2
│ │ │ │ ├── extsprintf@1.0.2
│ │ │ │ ├── json-schema@0.2.2
│ │ │ │ └── verror@1.3.6
│ │ │ └─┬ sshpk@1.7.3
│ │ │   ├── asn1@0.2.3
│ │ │   ├── dashdash@1.12.2
│ │ │   ├── ecc-jsbn@0.1.1
│ │ │   ├── jodid25519@1.0.2
│ │ │   ├── jsbn@0.1.0
│ │ │   └── tweetnacl@0.13.3
│ │ ├── isstream@0.1.2
│ │ ├── json-stringify-safe@5.0.1
│ │ ├─┬ mime-types@2.1.9
│ │ │ └── mime-db@1.21.0
│ │ ├── node-uuid@1.4.7
│ │ ├── oauth-sign@0.8.1
│ │ ├── qs@6.0.2
│ │ ├── stringstream@0.0.5
│ │ ├── tough-cookie@2.2.1
│ │ └── tunnel-agent@0.4.2
│ └── semver@4.3.6
├── setimmediate@1.0.4
├─┬ standard@5.4.1
│ ├── eslint-config-standard@4.4.0
│ ├── eslint-config-standard-react@1.2.1
│ ├── eslint-plugin-react@3.16.1
│ ├── eslint-plugin-standard@1.3.1
│ ├─┬ standard-engine@2.2.5
│ │ ├─┬ defaults@1.0.3
│ │ │ └── clone@1.0.2
│ │ ├─┬ deglob@1.0.2
│ │ │ ├── glob@5.0.15
│ │ │ ├── ignore@2.2.19
│ │ │ ├── run-parallel@1.1.4
│ │ │ ├── uniq@1.0.1
│ │ │ └── xtend@4.0.1
│ │ ├─┬ dezalgo@1.0.3
│ │ │ └── asap@2.0.3
│ │ ├─┬ eslint@1.9.0
│ │ │ ├─┬ concat-stream@1.5.1
│ │ │ │ └── typedarray@0.0.6
│ │ │ ├─┬ doctrine@0.7.2
│ │ │ │ └── esutils@1.1.6
│ │ │ ├── escape-string-regexp@1.0.4
│ │ │ ├─┬ escope@3.4.0
│ │ │ │ ├─┬ es6-map@0.1.3
│ │ │ │ │ ├── d@0.1.1
│ │ │ │ │ ├── es5-ext@0.10.11
│ │ │ │ │ ├── es6-iterator@2.0.0
│ │ │ │ │ ├── es6-set@0.1.4
│ │ │ │ │ └── event-emitter@0.3.4
│ │ │ │ ├── es6-weak-map@2.0.1
│ │ │ │ └─┬ esrecurse@3.1.1
│ │ │ │   └── estraverse@3.1.0
│ │ │ ├── espree@2.2.5
│ │ │ ├── estraverse@4.1.1
│ │ │ ├── estraverse-fb@1.3.1
│ │ │ ├─┬ file-entry-cache@1.2.4
│ │ │ │ └─┬ flat-cache@1.0.10
│ │ │ │   ├─┬ del@2.2.0
│ │ │ │   │ ├─┬ globby@4.0.0
│ │ │ │   │ │ └─┬ array-union@1.0.1
│ │ │ │   │ │   └── array-uniq@1.0.2
│ │ │ │   │ ├── is-path-cwd@1.0.0
│ │ │ │   │ ├─┬ is-path-in-cwd@1.0.0
│ │ │ │   │ │ └── is-path-inside@1.0.0
│ │ │ │   │ └── pify@2.3.0
│ │ │ │   ├── read-json-sync@1.1.1
│ │ │ │   └── write@0.2.1
│ │ │ ├── glob@5.0.15
│ │ │ ├── globals@8.18.0
│ │ │ ├─┬ handlebars@4.0.5
│ │ │ │ ├─┬ optimist@0.6.1
│ │ │ │ │ └── minimist@0.0.10
│ │ │ │ ├── source-map@0.4.4
│ │ │ │ └─┬ uglify-js@2.6.1
│ │ │ │   ├── async@0.2.10
│ │ │ │   ├── uglify-to-browserify@1.0.2
│ │ │ │   └─┬ yargs@3.10.0
│ │ │ │     └── window-size@0.1.0
│ │ │ ├─┬ inquirer@0.11.4
│ │ │ │ ├── ansi-escapes@1.1.1
│ │ │ │ ├── ansi-regex@2.0.0
│ │ │ │ ├─┬ cli-cursor@1.0.2
│ │ │ │ │ └─┬ restore-cursor@1.0.1
│ │ │ │ │   ├── exit-hook@1.1.1
│ │ │ │ │   └── onetime@1.1.0
│ │ │ │ ├── cli-width@1.1.1
│ │ │ │ ├── figures@1.4.0
│ │ │ │ ├─┬ readline2@1.0.1
│ │ │ │ │ ├── code-point-at@1.0.0
│ │ │ │ │ ├── is-fullwidth-code-point@1.0.0
│ │ │ │ │ └── mute-stream@0.0.5
│ │ │ │ ├── run-async@0.1.0
│ │ │ │ ├── rx-lite@3.1.2
│ │ │ │ └── string-width@1.0.1
│ │ │ ├─┬ is-resolvable@1.0.0
│ │ │ │ └── tryit@1.0.2
│ │ │ ├─┬ js-yaml@3.5.2
│ │ │ │ ├─┬ argparse@1.0.4
│ │ │ │ │ ├── lodash@4.1.0
│ │ │ │ │ └── sprintf-js@1.0.3
│ │ │ │ └── esprima@2.7.1
│ │ │ ├─┬ json-stable-stringify@1.0.0
│ │ │ │ └── jsonify@0.0.0
│ │ │ ├─┬ lodash.clonedeep@3.0.2
│ │ │ │ ├─┬ lodash._baseclone@3.3.0
│ │ │ │ │ └── lodash._basefor@3.0.3
│ │ │ │ └── lodash._bindcallback@3.0.1
│ │ │ ├─┬ lodash.merge@3.3.2
│ │ │ │ ├── lodash._arraycopy@3.0.0
│ │ │ │ ├── lodash._arrayeach@3.0.0
│ │ │ │ ├─┬ lodash._createassigner@3.1.1
│ │ │ │ │ └── lodash._isiterateecall@3.0.9
│ │ │ │ ├── lodash._getnative@3.9.1
│ │ │ │ ├── lodash.isarguments@3.0.5
│ │ │ │ ├── lodash.isarray@3.0.4
│ │ │ │ ├── lodash.isplainobject@3.2.0
│ │ │ │ ├── lodash.istypedarray@3.0.3
│ │ │ │ ├── lodash.keys@3.1.2
│ │ │ │ ├── lodash.keysin@3.0.8
│ │ │ │ └─┬ lodash.toplainobject@3.0.0
│ │ │ │   └── lodash._basecopy@3.0.1
│ │ │ ├─┬ lodash.omit@3.1.0
│ │ │ │ ├── lodash._arraymap@3.0.0
│ │ │ │ ├─┬ lodash._basedifference@3.0.3
│ │ │ │ │ ├── lodash._baseindexof@3.1.0
│ │ │ │ │ ├── lodash._cacheindexof@3.0.2
│ │ │ │ │ └── lodash._createcache@3.1.2
│ │ │ │ ├── lodash._baseflatten@3.1.4
│ │ │ │ ├── lodash._pickbyarray@3.0.2
│ │ │ │ ├── lodash._pickbycallback@3.0.0
│ │ │ │ └── lodash.restparam@3.6.1
│ │ │ ├── object-assign@4.0.1
│ │ │ ├─┬ optionator@0.6.0
│ │ │ │ ├── deep-is@0.1.3
│ │ │ │ ├── fast-levenshtein@1.0.7
│ │ │ │ ├── levn@0.2.5
│ │ │ │ ├── prelude-ls@1.1.2
│ │ │ │ ├── type-check@0.3.2
│ │ │ │ └── wordwrap@0.0.3
│ │ │ ├── path-is-inside@1.0.1
│ │ │ ├── shelljs@0.5.3
│ │ │ ├── text-table@0.2.0
│ │ │ ├── to-double-quotes@2.0.0
│ │ │ ├── to-single-quotes@2.0.0
│ │ │ ├── user-home@2.0.0
│ │ │ └── xml-escape@1.0.0
│ │ ├── find-root@0.1.1
│ │ ├── get-stdin@4.0.1
│ │ ├─┬ multiline@1.0.2
│ │ │ └── strip-indent@1.0.1
│ │ ├─┬ pkg-config@1.1.0
│ │ │ ├── debug-log@1.0.0
│ │ │ └── xtend@4.0.1
│ │ └── xtend@4.0.1
│ └─┬ standard-format@1.6.10
│   ├─┬ esformatter@0.8.2
│   │ ├── debug@0.7.4
│   │ ├─┬ disparity@2.0.0
│   │ │ └── diff@1.4.0
│   │ ├── espree@2.2.5
│   │ ├── glob@5.0.15
│   │ ├── mout@0.11.1
│   │ ├─┬ npm-run@2.0.0
│   │ │ ├── npm-path@1.0.2
│   │ │ ├── npm-which@2.0.0
│   │ │ ├─┬ serializerr@1.0.2
│   │ │ │ └── protochain@1.0.3
│   │ │ ├─┬ spawn-sync@1.0.15
│   │ │ │ └── os-shim@0.1.3
│   │ │ └── sync-exec@0.5.0
│   │ ├─┬ rocambole@0.7.0
│   │ │ └── esprima@2.7.1
│   │ ├── rocambole-indent@2.0.4
│   │ ├─┬ rocambole-linebreak@1.0.1
│   │ │ └── semver@4.3.6
│   │ ├── rocambole-node@1.0.0
│   │ ├── rocambole-token@1.2.1
│   │ ├─┬ rocambole-whitespace@1.0.0
│   │ │ └── repeat-string@1.5.2
│   │ ├── strip-json-comments@0.1.3
│   │ ├── supports-color@1.3.1
│   │ └── user-home@2.0.0
│   ├─┬ esformatter-eol-last@1.0.0
│   │ └── string.prototype.endswith@0.2.0
│   ├─┬ esformatter-jsx@2.3.11
│   │ ├── esformatter-ignore@0.1.3
│   │ ├── extend@2.0.1
│   │ ├─┬ fresh-falafel@1.2.0
│   │ │ ├── acorn@1.2.2
│   │ │ └── object-keys@1.0.9
│   │ └── js-beautify@1.6.2
│   ├─┬ esformatter-literal-notation@1.0.1
│   │ └─┬ rocambole@0.3.6
│   │   └── esprima@1.0.4
│   ├── esformatter-quotes@1.0.3
│   ├─┬ esformatter-semicolon-first@1.1.0
│   │ └── espree@2.2.5
│   ├── esformatter-spaced-lined-comment@2.0.1
│   └── stdin@0.0.1
└─┬ tape@4.4.0
  ├── deep-equal@1.0.1
  ├── defined@1.0.0
  ├── function-bind@1.0.2
  ├─┬ glob@5.0.15
  │ ├── inflight@1.0.4
  │ └─┬ minimatch@3.0.0
  │   └─┬ brace-expansion@1.1.2
  │     ├── balanced-match@0.3.0
  │     └── concat-map@0.0.1
  ├── has@1.0.1
  ├── inherits@2.0.1
  ├── object-inspect@1.0.2
  ├── resolve@1.1.7
  ├── resumer@0.0.0
  ├─┬ string.prototype.trim@1.1.1
  │ ├─┬ define-properties@1.1.2
  │ │ ├── foreach@2.0.5
  │ │ └── object-keys@1.0.9
  │ └─┬ es-abstract@1.5.0
  │   ├─┬ es-to-primitive@1.1.1
  │   │ ├── is-date-object@1.0.1
  │   │ └── is-symbol@1.0.1
  │   ├── is-callable@1.1.2
  │   └── is-regex@1.0.3
  └── through@2.3.8
mappum commented 8 years ago

This is due to the wrtc package being broken. The network code is being broken out into the bitcoin-net repo, and wrtc won't be a dependency (so these errors won't have to happen, and so that users can provide their own implementation such as electron-webrtc.

paulkernfeld commented 8 years ago

What do you think of removing wrtc from the optional dependencies, and making people install or link a webrtc implementation themselves? Simple-peer follows that pattern. I believe that would remove noise and speed up builds, although at the cost of convenience for some users.

在 2016年2月2日,09:57,ᴍᴀᴛᴛ ʙᴇʟʟ notifications@github.com 写道:

This is due to the wrtc package being broken. The network code is being broken out into the bitcoin-net repo, and wrtc won't be a dependency (so these errors won't have to happen, and so that users can provide their own implementation such as electron-webrtc x-msg://2/mappum/electron-webrtc.

— Reply to this email directly or view it on GitHub https://github.com/mappum/webcoin/issues/7#issuecomment-178455053.

mappum commented 8 years ago

I agree, that's the way to go.

paulkernfeld commented 8 years ago

I'm working on a PR for making users pass in a WebRTC implementation. I'm seeing a couple test failures even without my change (#9 and #10), so I want to make sure the tests are stable before submitting the PR.

mappum commented 8 years ago

Closing, now annoying dependencies like wrtc are passed in by the user.