Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack-dev-server fails to install in node 4 stable #258

Closed
PatrickJS opened this issue Sep 8, 2015 · 6 comments · Fixed by #302
Closed

webpack-dev-server fails to install in node 4 stable #258

PatrickJS opened this issue Sep 8, 2015 · 6 comments · Fixed by #302

Comments

@PatrickJS
Copy link
Member

here are the logs

npm http request GET https://registry.npmjs.org/webpack-dev-server
npm http 304 https://registry.npmjs.org/webpack-dev-server
npm WARN peerDependencies The peer dependency webpack@^1.3.0 included from webpack-dev-server will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm http request GET https://registry.npmjs.org/connect-history-api-fallback
npm http request GET https://registry.npmjs.org/optimist
npm http request GET https://registry.npmjs.org/serve-index
npm http request GET https://registry.npmjs.org/http-proxy
npm http request GET https://registry.npmjs.org/stream-cache
npm http request GET https://registry.npmjs.org/socket.io-client
npm http request GET https://registry.npmjs.org/socket.io
npm http request GET https://registry.npmjs.org/strip-ansi
npm http request GET https://registry.npmjs.org/webpack-dev-middleware
npm http request GET https://registry.npmjs.org/supports-color
npm http request GET https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/connect-history-api-fallback
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/supports-color
npm http 304 https://registry.npmjs.org/socket.io-client
npm http 304 https://registry.npmjs.org/webpack-dev-middleware
npm http 304 https://registry.npmjs.org/stream-cache
npm http 304 https://registry.npmjs.org/http-proxy
npm http 200 https://registry.npmjs.org/socket.io
npm http 200 https://registry.npmjs.org/serve-index
npm http 200 https://registry.npmjs.org/express
npm WARN peerDependencies The peer dependency webpack@^1.0.0 included from webpack-dev-middleware will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm http request GET https://registry.npmjs.org/ansi-regex
npm http request GET https://registry.npmjs.org/memory-fs
npm http request GET https://registry.npmjs.org/mime
npm http request GET https://registry.npmjs.org/requires-port
npm http request GET https://registry.npmjs.org/socket.io-adapter
npm http request GET https://registry.npmjs.org/has-binary-data
npm http request GET https://registry.npmjs.org/eventemitter3
npm http request GET https://registry.npmjs.org/socket.io-parser
npm http request GET https://registry.npmjs.org/debug
npm http request GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/memory-fs
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/requires-port
npm http 304 https://registry.npmjs.org/socket.io-adapter
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/has-binary-data
npm http 304 https://registry.npmjs.org/socket.io-parser
npm http request GET https://registry.npmjs.org/array-flatten
npm http request GET https://registry.npmjs.org/minimist
npm http request GET https://registry.npmjs.org/content-type
npm http request GET https://registry.npmjs.org/engine.io
npm http request GET https://registry.npmjs.org/content-disposition
npm http request GET https://registry.npmjs.org/cookie-signature
npm http request GET https://registry.npmjs.org/cookie
npm http request GET https://registry.npmjs.org/accepts
npm http request GET https://registry.npmjs.org/escape-html
npm http request GET https://registry.npmjs.org/etag
npm http request GET https://registry.npmjs.org/fresh
npm http request GET https://registry.npmjs.org/depd
npm http request GET https://registry.npmjs.org/merge-descriptors
npm http request GET https://registry.npmjs.org/finalhandler
npm http request GET https://registry.npmjs.org/methods
npm http request GET https://registry.npmjs.org/indexof
npm http request GET https://registry.npmjs.org/parseuri
npm http request GET https://registry.npmjs.org/parseurl
npm http request GET https://registry.npmjs.org/on-finished
npm http request GET https://registry.npmjs.org/proxy-addr
npm http request GET https://registry.npmjs.org/backo2
npm http request GET https://registry.npmjs.org/to-array
npm http request GET https://registry.npmjs.org/range-parser
npm http request GET https://registry.npmjs.org/path-to-regexp
npm http request GET https://registry.npmjs.org/send
npm http request GET https://registry.npmjs.org/qs
npm http request GET https://registry.npmjs.org/utils-merge
npm http request GET https://registry.npmjs.org/type-is
npm http request GET https://registry.npmjs.org/component-bind
npm http request GET https://registry.npmjs.org/serve-static
npm http request GET https://registry.npmjs.org/object-component
npm http request GET https://registry.npmjs.org/has-binary
npm http request GET https://registry.npmjs.org/vary
npm http request GET https://registry.npmjs.org/component-emitter
npm http request GET https://registry.npmjs.org/engine.io-client
npm http 304 https://registry.npmjs.org/eventemitter3
npm http request GET https://registry.npmjs.org/batch
npm http 304 https://registry.npmjs.org/wordwrap
npm http request GET https://registry.npmjs.org/http-errors
npm http request GET https://registry.npmjs.org/mime-types
npm http 304 https://registry.npmjs.org/merge-descriptors
npm http 304 https://registry.npmjs.org/content-type
npm http 304 https://registry.npmjs.org/cookie
npm http 304 https://registry.npmjs.org/fresh
npm http 304 https://registry.npmjs.org/proxy-addr
npm http 304 https://registry.npmjs.org/backo2
npm http 304 https://registry.npmjs.org/type-is
npm http 304 https://registry.npmjs.org/on-finished
npm http 304 https://registry.npmjs.org/to-array
npm http 304 https://registry.npmjs.org/escape-html
npm http 304 https://registry.npmjs.org/array-flatten
npm http 304 https://registry.npmjs.org/etag
npm http 304 https://registry.npmjs.org/content-disposition
npm http 304 https://registry.npmjs.org/parseurl
npm http 304 https://registry.npmjs.org/parseuri
npm http 304 https://registry.npmjs.org/component-emitter
npm http 304 https://registry.npmjs.org/has-binary
npm http 304 https://registry.npmjs.org/send
npm http 304 https://registry.npmjs.org/utils-merge
npm http 304 https://registry.npmjs.org/vary
npm http 304 https://registry.npmjs.org/object-component
npm http 304 https://registry.npmjs.org/methods
npm http 304 https://registry.npmjs.org/engine.io
npm http 304 https://registry.npmjs.org/depd
npm http 304 https://registry.npmjs.org/engine.io-client
npm http 304 https://registry.npmjs.org/cookie-signature
npm http 304 https://registry.npmjs.org/component-bind
npm http 304 https://registry.npmjs.org/range-parser
npm http 304 https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/indexof
npm http 304 https://registry.npmjs.org/path-to-regexp
npm http 200 https://registry.npmjs.org/accepts
npm http fetch GET https://registry.npmjs.org/accepts/-/accepts-1.2.13.tgz
npm http 304 https://registry.npmjs.org/batch
npm http 304 https://registry.npmjs.org/http-errors
npm http request GET https://registry.npmjs.org/better-assert
npm http 200 https://registry.npmjs.org/qs
npm http fetch GET https://registry.npmjs.org/qs/-/qs-4.0.0.tgz
npm http 304 https://registry.npmjs.org/finalhandler
npm http request GET https://registry.npmjs.org/object-keys
npm http request GET https://registry.npmjs.org/ms
npm http request GET https://registry.npmjs.org/isarray
npm http 200 https://registry.npmjs.org/mime-types
npm http request GET https://registry.npmjs.org/base64id
npm http fetch 200 https://registry.npmjs.org/accepts/-/accepts-1.2.13.tgz
npm http request GET https://registry.npmjs.org/has-cors
npm http request GET https://registry.npmjs.org/parsejson
npm http request GET https://registry.npmjs.org/parseqs
npm http request GET https://registry.npmjs.org/component-inherit
npm http fetch GET https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz
npm http request GET https://registry.npmjs.org/engine.io-parser
npm http request GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/better-assert
npm http 304 https://registry.npmjs.org/object-keys
npm http request GET https://registry.npmjs.org/statuses
npm http 304 https://registry.npmjs.org/isarray
npm http request GET https://registry.npmjs.org/mime-db
npm http request GET https://registry.npmjs.org/ws
npm http fetch 200 https://registry.npmjs.org/qs/-/qs-4.0.0.tgz
npm http 304 https://registry.npmjs.org/base64id
npm http 200 https://registry.npmjs.org/serve-static
npm http 304 https://registry.npmjs.org/ms
npm http 304 https://registry.npmjs.org/has-cors
npm http 304 https://registry.npmjs.org/parsejson
npm http request GET https://registry.npmjs.org/negotiator
npm http 304 https://registry.npmjs.org/component-inherit
npm http 304 https://registry.npmjs.org/parseqs
npm http request GET https://registry.npmjs.org/callsite
npm http 304 https://registry.npmjs.org/engine.io-parser
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/statuses
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/mime-db
npm http request GET https://registry.npmjs.org/json3
npm http 304 https://registry.npmjs.org/negotiator
npm http request GET https://registry.npmjs.org/benchmark
npm http request GET https://registry.npmjs.org/webpack
npm http request GET https://registry.npmjs.org/unpipe
npm http 304 https://registry.npmjs.org/callsite
npm http request GET https://registry.npmjs.org/forwarded
npm http request GET https://registry.npmjs.org/ee-first
npm http request GET https://registry.npmjs.org/media-typer
npm http request GET https://registry.npmjs.org/ipaddr.js
npm http request GET https://registry.npmjs.org/destroy
npm http 304 https://registry.npmjs.org/json3
npm http 200 https://registry.npmjs.org/benchmark
npm http fetch GET https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz
npm http fetch 200 https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz
npm http request GET https://registry.npmjs.org/base64-arraybuffer
npm http request GET https://registry.npmjs.org/blob
npm http 304 https://registry.npmjs.org/forwarded
npm http 304 https://registry.npmjs.org/unpipe
npm http request GET https://registry.npmjs.org/arraybuffer.slice
npm http request GET https://registry.npmjs.org/utf8
npm http request GET https://registry.npmjs.org/after
npm http 304 https://registry.npmjs.org/ee-first
npm http 304 https://registry.npmjs.org/media-typer
npm http request GET https://registry.npmjs.org/bufferutil
npm http request GET https://registry.npmjs.org/utf-8-validate
npm http request GET https://registry.npmjs.org/options
npm http request GET https://registry.npmjs.org/ultron
npm http 304 https://registry.npmjs.org/destroy
npm http fetch 200 https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz
npm http 304 https://registry.npmjs.org/arraybuffer.slice
npm http 304 https://registry.npmjs.org/utf8
npm http 304 https://registry.npmjs.org/blob
npm http 304 https://registry.npmjs.org/base64-arraybuffer
npm http fetch GET https://github.com/component/global/archive/v2.0.1.tar.gz
npm http 304 https://registry.npmjs.org/after
npm http 304 https://registry.npmjs.org/ipaddr.js
npm http 304 https://registry.npmjs.org/utf-8-validate
npm http 304 https://registry.npmjs.org/ultron
npm http 304 https://registry.npmjs.org/bufferutil
npm http 304 https://registry.npmjs.org/options
npm http request GET https://registry.npmjs.org/bindings
npm http fetch 200 https://github.com/component/global/archive/v2.0.1.tar.gz
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings
npm http 200 https://registry.npmjs.org/webpack
npm http 200 https://registry.npmjs.org/nan
npm http request GET https://registry.npmjs.org/enhanced-resolve
npm http request GET https://registry.npmjs.org/esprima
npm http request GET https://registry.npmjs.org/clone
npm http request GET https://registry.npmjs.org/node-libs-browser
npm http request GET https://registry.npmjs.org/mkdirp
npm http request GET https://registry.npmjs.org/interpret
npm http request GET https://registry.npmjs.org/async
npm http request GET https://registry.npmjs.org/watchpack
npm http request GET https://registry.npmjs.org/tapable
npm http request GET https://registry.npmjs.org/webpack-core
npm http request GET https://registry.npmjs.org/uglify-js

> [email protected] install /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

gyp http GET https://nodejs.org/dist/v4.0.0/node-v4.0.0-headers.tar.gz
gyp http 200 https://nodejs.org/dist/v4.0.0/node-v4.0.0-headers.tar.gz
gyp http GET https://nodejs.org/dist/v4.0.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/dist/v4.0.0/SHASUMS256.txt
  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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local'
      against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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 (/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172: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 "/Users/patrick/.nvm/versions/node/v4.0.0/bin/node" "/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/esprima
npm http 304 https://registry.npmjs.org/tapable
npm http 304 https://registry.npmjs.org/interpret
npm http 304 https://registry.npmjs.org/clone
npm http 304 https://registry.npmjs.org/webpack-core
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/node-libs-browser
npm http 304 https://registry.npmjs.org/watchpack
npm http 304 https://registry.npmjs.org/enhanced-resolve
npm http 200 https://registry.npmjs.org/async
npm http request GET https://registry.npmjs.org/has-flag
npm http 304 https://registry.npmjs.org/has-flag
npm http request GET https://registry.npmjs.org/constants-browserify
npm http request GET https://registry.npmjs.org/console-browserify
npm http request GET https://registry.npmjs.org/domain-browser
npm http request GET https://registry.npmjs.org/events
npm http request GET https://registry.npmjs.org/https-browserify
npm http request GET https://registry.npmjs.org/os-browserify
npm http request GET https://registry.npmjs.org/path-browserify
npm http request GET https://registry.npmjs.org/process
npm http request GET https://registry.npmjs.org/http-browserify
npm http request GET https://registry.npmjs.org/crypto-browserify
npm http request GET https://registry.npmjs.org/querystring-es3
npm http request GET https://registry.npmjs.org/buffer
npm http request GET https://registry.npmjs.org/string_decoder
npm http request GET https://registry.npmjs.org/stream-browserify
npm http request GET https://registry.npmjs.org/tty-browserify
npm http request GET https://registry.npmjs.org/punycode
npm http request GET https://registry.npmjs.org/util
npm http request GET https://registry.npmjs.org/url
npm http request GET https://registry.npmjs.org/timers-browserify
npm http request GET https://registry.npmjs.org/vm-browserify
npm http request GET https://registry.npmjs.org/browserify-zlib
npm http request GET https://registry.npmjs.org/assert
npm http request GET https://registry.npmjs.org/readable-stream
npm http request GET https://registry.npmjs.org/source-list-map
npm http request GET https://registry.npmjs.org/graceful-fs
npm http request GET https://registry.npmjs.org/chokidar
npm http 304 https://registry.npmjs.org/https-browserify
npm http 304 https://registry.npmjs.org/domain-browser
npm http 304 https://registry.npmjs.org/events
npm http request GET https://registry.npmjs.org/uglify-to-browserify
npm http 304 https://registry.npmjs.org/console-browserify
npm http 304 https://registry.npmjs.org/process
npm http 304 https://registry.npmjs.org/tty-browserify
npm http 304 https://registry.npmjs.org/vm-browserify
npm http 304 https://registry.npmjs.org/timers-browserify
npm http request GET https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/querystring-es3
npm http 304 https://registry.npmjs.org/os-browserify
npm http 304 https://registry.npmjs.org/path-browserify
npm http 304 https://registry.npmjs.org/constants-browserify
npm http 304 https://registry.npmjs.org/http-browserify
npm http 304 https://registry.npmjs.org/browserify-zlib
npm http 304 https://registry.npmjs.org/crypto-browserify
npm http 200 https://registry.npmjs.org/url
npm http 304 https://registry.npmjs.org/assert
npm http 304 https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/util
npm http 304 https://registry.npmjs.org/stream-browserify
npm http 304 https://registry.npmjs.org/graceful-fs
npm http request GET https://registry.npmjs.org/yargs
npm http 304 https://registry.npmjs.org/source-list-map
npm http 304 https://registry.npmjs.org/chokidar
npm http 304 https://registry.npmjs.org/uglify-to-browserify
npm http 304 https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/buffer
npm http request GET https://registry.npmjs.org/arrify
npm http request GET https://registry.npmjs.org/async-each
npm http request GET https://registry.npmjs.org/glob-parent
npm http request GET https://registry.npmjs.org/anymatch
npm http request GET https://registry.npmjs.org/path-is-absolute
npm http request GET https://registry.npmjs.org/is-binary-path
npm http request GET https://registry.npmjs.org/is-glob
npm http request GET https://registry.npmjs.org/fsevents
npm http request GET https://registry.npmjs.org/readdirp
npm http 304 https://registry.npmjs.org/arrify
npm http 304 https://registry.npmjs.org/anymatch
npm http 304 https://registry.npmjs.org/async-each
npm http 304 https://registry.npmjs.org/path-is-absolute
npm http 304 https://registry.npmjs.org/glob-parent
npm http 304 https://registry.npmjs.org/is-binary-path
npm http 304 https://registry.npmjs.org/is-glob
npm http 304 https://registry.npmjs.org/fsevents
npm http request GET https://registry.npmjs.org/date-now
npm http request GET https://registry.npmjs.org/querystring
npm http 304 https://registry.npmjs.org/readdirp
npm http request GET https://registry.npmjs.org/Base64
npm http 200 https://registry.npmjs.org/yargs
npm http request GET https://registry.npmjs.org/core-util-is
npm http request GET https://registry.npmjs.org/binary-extensions
npm http 304 https://registry.npmjs.org/date-now
npm http request GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/Base64
npm http 304 https://registry.npmjs.org/querystring
npm http 304 https://registry.npmjs.org/core-util-is
npm http request GET https://registry.npmjs.org/pako
npm http request GET https://registry.npmjs.org/base64-js
npm http request GET https://registry.npmjs.org/is-array
npm http request GET https://registry.npmjs.org/ieee754
npm http request GET https://registry.npmjs.org/micromatch
npm http 304 https://registry.npmjs.org/binary-extensions
npm http request GET https://registry.npmjs.org/decamelize
npm http request GET https://registry.npmjs.org/window-size
npm http request GET https://registry.npmjs.org/camelcase
npm http request GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/pako
npm http 304 https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/base64-js
npm http 304 https://registry.npmjs.org/is-array
npm http 304 https://registry.npmjs.org/ieee754
npm http 304 https://registry.npmjs.org/window-size
npm http 304 https://registry.npmjs.org/decamelize
npm http request GET https://registry.npmjs.org/pbkdf2-compat
npm http request GET https://registry.npmjs.org/ripemd160
npm http request GET https://registry.npmjs.org/sha.js
npm http 304 https://registry.npmjs.org/micromatch
npm http request GET https://registry.npmjs.org/array-unique
npm http request GET https://registry.npmjs.org/expand-brackets
npm http request GET https://registry.npmjs.org/extglob
npm http request GET https://registry.npmjs.org/arr-diff
npm http request GET https://registry.npmjs.org/filename-regex
npm http request GET https://registry.npmjs.org/object.omit
npm http request GET https://registry.npmjs.org/regex-cache
npm http request GET https://registry.npmjs.org/kind-of
npm http request GET https://registry.npmjs.org/braces
npm http request GET https://registry.npmjs.org/parse-glob
npm http 304 https://registry.npmjs.org/sha.js
npm http 304 https://registry.npmjs.org/pbkdf2-compat
npm http 304 https://registry.npmjs.org/ripemd160
npm http 304 https://registry.npmjs.org/minimatch
npm http request GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/braces
npm http 304 https://registry.npmjs.org/parse-glob
npm http request GET https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/filename-regex
npm http 304 https://registry.npmjs.org/object.omit
npm http 304 https://registry.npmjs.org/kind-of
npm http 304 https://registry.npmjs.org/camelcase
npm http 304 https://registry.npmjs.org/extglob
npm http 304 https://registry.npmjs.org/array-unique
npm http 304 https://registry.npmjs.org/regex-cache
npm http 304 https://registry.npmjs.org/expand-brackets
npm http 304 https://registry.npmjs.org/arr-diff
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http request GET https://registry.npmjs.org/for-own
npm http request GET https://registry.npmjs.org/array-slice
npm http request GET https://registry.npmjs.org/isobject
npm http request GET https://registry.npmjs.org/success-symbol
npm http request GET https://registry.npmjs.org/ansi-green
npm http request GET https://registry.npmjs.org/arr-flatten
npm http request GET https://registry.npmjs.org/is-extglob
npm http request GET https://registry.npmjs.org/is-primitive
npm http request GET https://registry.npmjs.org/is-dotfile
npm http request GET https://registry.npmjs.org/is-equal-shallow
npm http request GET https://registry.npmjs.org/glob-base
npm http request GET https://registry.npmjs.org/repeat-element
npm http request GET https://registry.npmjs.org/preserve
npm http request GET https://registry.npmjs.org/lazy-cache
npm http request GET https://registry.npmjs.org/expand-range
npm http 304 https://registry.npmjs.org/array-slice
npm http 304 https://registry.npmjs.org/arr-flatten
npm http 304 https://registry.npmjs.org/is-extglob
npm http 304 https://registry.npmjs.org/is-equal-shallow
npm http 304 https://registry.npmjs.org/ansi-green
npm http 304 https://registry.npmjs.org/for-own
npm http 304 https://registry.npmjs.org/success-symbol
npm http 304 https://registry.npmjs.org/lazy-cache
npm http 304 https://registry.npmjs.org/preserve
npm http 304 https://registry.npmjs.org/isobject
npm http 304 https://registry.npmjs.org/is-primitive
npm http 304 https://registry.npmjs.org/is-dotfile
npm http 304 https://registry.npmjs.org/glob-base
npm http request GET https://registry.npmjs.org/ansi-wrap
npm http request GET https://registry.npmjs.org/for-in
npm http 304 https://registry.npmjs.org/expand-range
npm http 304 https://registry.npmjs.org/repeat-element
npm http request GET https://registry.npmjs.org/fill-range
npm http 304 https://registry.npmjs.org/for-in
npm http 304 https://registry.npmjs.org/ansi-wrap
npm http 304 https://registry.npmjs.org/fill-range
npm http request GET https://registry.npmjs.org/randomatic
npm http request GET https://registry.npmjs.org/is-number
npm http request GET https://registry.npmjs.org/repeat-string
npm http 304 https://registry.npmjs.org/is-number
npm http 304 https://registry.npmjs.org/randomatic
npm http 304 https://registry.npmjs.org/repeat-string

> [email protected] install /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local'
      against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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 (/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172: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 "/Users/patrick/.nvm/versions/node/v4.0.0/bin/node" "/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]

> [email protected] install /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local'
      against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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 (/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172: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 "/Users/patrick/.nvm/versions/node/v4.0.0/bin/node" "/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]

> [email protected] install /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

  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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local'
      against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible
      type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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/patrick/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type
      'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/patrick/.node-gyp/4.0.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 (/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172: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 "/Users/patrick/.nvm/versions/node/v4.0.0/bin/node" "/Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]

> [email protected] install /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
npm WARN optional dep failed, continuing [email protected]
/Users/patrick/.nvm/versions/node/v4.0.0/bin/webpack-dev-server -> /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server/bin/webpack-dev-server.js
npm http request GET https://registry.npmjs.org/webpack
npm http 304 https://registry.npmjs.org/webpack
npm http request GET https://registry.npmjs.org/async
npm http request GET https://registry.npmjs.org/enhanced-resolve
npm http request GET https://registry.npmjs.org/memory-fs
npm http request GET https://registry.npmjs.org/interpret
npm http request GET https://registry.npmjs.org/node-libs-browser
npm http request GET https://registry.npmjs.org/supports-color
npm http request GET https://registry.npmjs.org/esprima
npm http request GET https://registry.npmjs.org/mkdirp
npm http request GET https://registry.npmjs.org/clone
npm http request GET https://registry.npmjs.org/tapable
npm http request GET https://registry.npmjs.org/watchpack
npm http request GET https://registry.npmjs.org/webpack-core
npm http request GET https://registry.npmjs.org/optimist
npm http request GET https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/memory-fs
npm http 304 https://registry.npmjs.org/interpret
npm http 304 https://registry.npmjs.org/supports-color
npm http 304 https://registry.npmjs.org/enhanced-resolve
npm http 304 https://registry.npmjs.org/esprima
npm http 304 https://registry.npmjs.org/watchpack
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/webpack-core
npm http 304 https://registry.npmjs.org/tapable
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/clone
npm http 304 https://registry.npmjs.org/node-libs-browser
npm http request GET https://registry.npmjs.org/has-flag
npm http request GET https://registry.npmjs.org/constants-browserify
npm http request GET https://registry.npmjs.org/console-browserify
npm http request GET https://registry.npmjs.org/events
npm http request GET https://registry.npmjs.org/domain-browser
npm http request GET https://registry.npmjs.org/https-browserify
npm http request GET https://registry.npmjs.org/os-browserify
npm http request GET https://registry.npmjs.org/path-browserify
npm http request GET https://registry.npmjs.org/process
npm http request GET https://registry.npmjs.org/buffer
npm http request GET https://registry.npmjs.org/http-browserify
npm http request GET https://registry.npmjs.org/readable-stream
npm http request GET https://registry.npmjs.org/querystring-es3
npm http request GET https://registry.npmjs.org/string_decoder
npm http request GET https://registry.npmjs.org/stream-browserify
npm http request GET https://registry.npmjs.org/tty-browserify
npm http request GET https://registry.npmjs.org/timers-browserify
npm http request GET https://registry.npmjs.org/punycode
npm http request GET https://registry.npmjs.org/util
npm http request GET https://registry.npmjs.org/url
npm http request GET https://registry.npmjs.org/vm-browserify
npm http request GET https://registry.npmjs.org/browserify-zlib
npm http request GET https://registry.npmjs.org/assert
npm http request GET https://registry.npmjs.org/crypto-browserify
npm http request GET https://registry.npmjs.org/graceful-fs
npm http request GET https://registry.npmjs.org/minimist
npm http request GET https://registry.npmjs.org/source-list-map
npm http request GET https://registry.npmjs.org/chokidar
npm http request GET https://registry.npmjs.org/wordwrap
npm http request GET https://registry.npmjs.org/source-map
npm http request GET https://registry.npmjs.org/uglify-to-browserify
npm http request GET https://registry.npmjs.org/yargs
npm http 304 https://registry.npmjs.org/https-browserify
npm http 304 https://registry.npmjs.org/process
npm http 304 https://registry.npmjs.org/http-browserify
npm http 304 https://registry.npmjs.org/buffer
npm http 304 https://registry.npmjs.org/timers-browserify
npm http 304 https://registry.npmjs.org/assert
npm http 304 https://registry.npmjs.org/stream-browserify
npm http 304 https://registry.npmjs.org/tty-browserify
npm http 304 https://registry.npmjs.org/url
npm http 304 https://registry.npmjs.org/constants-browserify
npm http 304 https://registry.npmjs.org/console-browserify
npm http 304 https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/source-list-map
npm http 304 https://registry.npmjs.org/chokidar
npm http 304 https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/vm-browserify
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/browserify-zlib
npm http 304 https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/graceful-fs
npm http request GET https://registry.npmjs.org/arrify
npm http request GET https://registry.npmjs.org/async-each
npm http request GET https://registry.npmjs.org/anymatch
npm http request GET https://registry.npmjs.org/glob-parent
npm http request GET https://registry.npmjs.org/is-binary-path
npm http request GET https://registry.npmjs.org/path-is-absolute
npm http request GET https://registry.npmjs.org/is-glob
npm http request GET https://registry.npmjs.org/fsevents
npm http request GET https://registry.npmjs.org/readdirp
npm http 304 https://registry.npmjs.org/yargs
npm http request GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/has-flag
npm http 304 https://registry.npmjs.org/os-browserify
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/events
npm http 304 https://registry.npmjs.org/path-browserify
npm http 304 https://registry.npmjs.org/domain-browser
npm http 304 https://registry.npmjs.org/util
npm http 304 https://registry.npmjs.org/crypto-browserify
npm http 304 https://registry.npmjs.org/querystring-es3
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/uglify-to-browserify
npm http 304 https://registry.npmjs.org/async-each
npm http 304 https://registry.npmjs.org/readdirp
npm http 304 https://registry.npmjs.org/path-is-absolute
npm http request GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/is-glob
npm http 304 https://registry.npmjs.org/glob-parent
npm http 304 https://registry.npmjs.org/fsevents
npm http 304 https://registry.npmjs.org/amdefine
npm http request GET https://registry.npmjs.org/date-now
npm http request GET https://registry.npmjs.org/indexof
npm http request GET https://registry.npmjs.org/querystring
npm http request GET https://registry.npmjs.org/Base64
npm http request GET https://registry.npmjs.org/core-util-is
npm http request GET https://registry.npmjs.org/isarray
npm http request GET https://registry.npmjs.org/decamelize
npm http request GET https://registry.npmjs.org/window-size
npm http request GET https://registry.npmjs.org/camelcase
npm http request GET https://registry.npmjs.org/pako
npm http request GET https://registry.npmjs.org/is-array
npm http request GET https://registry.npmjs.org/base64-js
npm http request GET https://registry.npmjs.org/ieee754
npm http 304 https://registry.npmjs.org/arrify
npm http request GET https://registry.npmjs.org/ripemd160
npm http request GET https://registry.npmjs.org/pbkdf2-compat
npm http request GET https://registry.npmjs.org/sha.js
npm http 304 https://registry.npmjs.org/is-binary-path
npm http 304 https://registry.npmjs.org/anymatch
npm http 304 https://registry.npmjs.org/inherits
npm http request GET https://registry.npmjs.org/binary-extensions
npm http 304 https://registry.npmjs.org/date-now
npm http 304 https://registry.npmjs.org/querystring
npm http request GET https://registry.npmjs.org/micromatch
npm http 304 https://registry.npmjs.org/indexof
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/decamelize
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/camelcase
npm http 304 https://registry.npmjs.org/ieee754
npm http request GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/is-array
npm http 304 https://registry.npmjs.org/base64-js
npm http 304 https://registry.npmjs.org/ripemd160
npm http 304 https://registry.npmjs.org/pbkdf2-compat
npm http 304 https://registry.npmjs.org/sha.js
npm http 304 https://registry.npmjs.org/window-size
npm http 304 https://registry.npmjs.org/Base64
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/pako
npm http 304 https://registry.npmjs.org/minimatch
npm http request GET https://registry.npmjs.org/sigmund
npm http request GET https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/binary-extensions

> [email protected] install /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
npm http 304 https://registry.npmjs.org/micromatch
npm http request GET https://registry.npmjs.org/array-unique
npm http request GET https://registry.npmjs.org/arr-diff
npm http request GET https://registry.npmjs.org/expand-brackets
npm http request GET https://registry.npmjs.org/braces
npm http request GET https://registry.npmjs.org/filename-regex
npm http request GET https://registry.npmjs.org/object.omit
npm http request GET https://registry.npmjs.org/extglob
npm http request GET https://registry.npmjs.org/kind-of
npm http request GET https://registry.npmjs.org/regex-cache
npm http request GET https://registry.npmjs.org/parse-glob
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/expand-brackets
npm http 304 https://registry.npmjs.org/arr-diff
npm http 304 https://registry.npmjs.org/extglob
npm http 304 https://registry.npmjs.org/parse-glob
npm http 304 https://registry.npmjs.org/kind-of
npm http 304 https://registry.npmjs.org/regex-cache
npm http 304 https://registry.npmjs.org/array-unique
npm http 304 https://registry.npmjs.org/object.omit
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/braces
npm http 304 https://registry.npmjs.org/filename-regex
npm http request GET https://registry.npmjs.org/isobject
npm http request GET https://registry.npmjs.org/arr-flatten
npm http request GET https://registry.npmjs.org/array-slice
npm http request GET https://registry.npmjs.org/for-own
npm http request GET https://registry.npmjs.org/is-extglob
npm http request GET https://registry.npmjs.org/ansi-green
npm http request GET https://registry.npmjs.org/is-primitive
npm http request GET https://registry.npmjs.org/success-symbol
npm http request GET https://registry.npmjs.org/is-equal-shallow
npm http request GET https://registry.npmjs.org/is-dotfile
npm http request GET https://registry.npmjs.org/glob-base
npm http request GET https://registry.npmjs.org/preserve
npm http request GET https://registry.npmjs.org/repeat-element
npm http request GET https://registry.npmjs.org/lazy-cache
npm http request GET https://registry.npmjs.org/expand-range
npm http 304 https://registry.npmjs.org/array-slice
npm http 304 https://registry.npmjs.org/arr-flatten
npm http 304 https://registry.npmjs.org/preserve
npm http 304 https://registry.npmjs.org/success-symbol
npm http 304 https://registry.npmjs.org/isobject
npm http 304 https://registry.npmjs.org/is-primitive
npm http 304 https://registry.npmjs.org/for-own
npm http 304 https://registry.npmjs.org/is-extglob
npm http 304 https://registry.npmjs.org/ansi-green
npm http 304 https://registry.npmjs.org/is-dotfile
npm http 304 https://registry.npmjs.org/glob-base
npm http 304 https://registry.npmjs.org/is-equal-shallow
npm http 304 https://registry.npmjs.org/repeat-element
npm http 304 https://registry.npmjs.org/expand-range
npm http request GET https://registry.npmjs.org/for-in
npm http request GET https://registry.npmjs.org/ansi-wrap
npm http 304 https://registry.npmjs.org/lazy-cache
npm http request GET https://registry.npmjs.org/fill-range
npm http 304 https://registry.npmjs.org/for-in
npm http 304 https://registry.npmjs.org/ansi-wrap
npm http 304 https://registry.npmjs.org/fill-range
npm http request GET https://registry.npmjs.org/randomatic
npm http request GET https://registry.npmjs.org/is-number
npm http request GET https://registry.npmjs.org/repeat-string
npm http 304 https://registry.npmjs.org/randomatic
npm http 304 https://registry.npmjs.org/is-number
npm http 304 https://registry.npmjs.org/repeat-string
/Users/patrick/.nvm/versions/node/v4.0.0/bin/webpack -> /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack/bin/webpack.js
[email protected] /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])

[email protected] /Users/patrick/.nvm/versions/node/v4.0.0/lib/node_modules/webpack-dev-server
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])

also has an error Segmentation fault: 11

@PatrickJS
Copy link
Member Author

never mind I got it working although the error are still there

@datoulei
Copy link

datoulei commented Sep 9, 2015

I have same error but it can't work

@PatrickJS
Copy link
Member Author

run npm update or delete your node_modules and install again

@sergey-lapin
Copy link

Confirm this

@joewood
Copy link

joewood commented Sep 17, 2015

I see the same error on a clean install of node.js 4. I see the above errors but webpack-dev-server works anyway. Looks like an indirect dependency on Nan is causing an issue ( see here nodejs/node#2798).

A quick analysis, it looks like Socket.io -> engine.io -> ws -> bufferutil -> nan dependency. The issue being socket.io is waiting on this ticket: socketio/socket.io#2228

From the comments in that thread it looks like an npm update is imminent. Can this ticket be reopened?

@PatrickJS PatrickJS reopened this Sep 17, 2015
@joewood
Copy link

joewood commented Sep 21, 2015

The problem with socketio has been resolved: socketio/socket.io#2228
The change was picked up automatically by webpack-dev-server and it installation works fine on node.js 4.

SpaceK33z added a commit to CodeYellowBV/webpack-dev-server that referenced this issue Oct 24, 2015
This removes the node-gyp dependency :).

Fixes webpack#229, webpack#276, fixes webpack#195, fixes webpack#267, fixes webpack#258 and fixes webpack#242
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants