Skip to content

Instantly share code, notes, and snippets.

@fallenhitokiri
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fallenhitokiri/6fbcc5e910949f4646ca to your computer and use it in GitHub Desktop.
Save fallenhitokiri/6fbcc5e910949f4646ca to your computer and use it in GitHub Desktop.
wrtc 0.0.22, node 0.11.13, Darwin 13.3.0
Shirayuki ~/Playground/wrtc
$ npm install wrtc
/
> wrtc@0.0.22 install /Users/timo/Playground/wrtc/node_modules/wrtc
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Source compile required: 404 status code downloading tarball
ACTION Run build script /dev/null
TARGET_ARCH=x64 r5982 Release
Preparing directories ... done
Cloning depot tools ... done
Configuring gclient ... done
Syncing upstream libjingle ... done
Executing runhooks ... done
Building libjingle ... done
Build complete
TOUCH Release/obj.target/action_before_build.stamp
CXX(target) Release/obj.target/wrtc/src/binding.o
In file included from ../src/binding.cc:6:
In file included from ../src/peerconnection.h:17:
In file included from ../src/datachannel.h:19:
../node_modules/nan/nan.h:261:12: error: no member named 'New' in 'v8::String'
return _NAN_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:252:21: note: expanded from macro '_NAN_ERROR'
fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:265:5: error: no member named 'ThrowException' in
namespace 'v8'
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:257:11: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
~~~~^
../node_modules/nan/nan.h:265:5: error: no member named 'New' in 'v8::String'
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:257:26: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:252:21: note: expanded from macro '_NAN_ERROR'
fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:270:9: error: no type named 'ThrowException' in
namespace 'v8'
v8::ThrowException(error);
~~~~^
../node_modules/nan/nan.h:276:65: error: no member named 'New' in 'v8::String'
v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
~~~~~~~~~~~~^
../node_modules/nan/nan.h:278:26: error: no member named 'New' in 'v8::String'
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
~~~~~~~~~~~~^
../node_modules/nan/nan.h:289:12: error: no member named 'New' in 'v8::String'
return _NAN_ERROR(v8::Exception::TypeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:252:21: note: expanded from macro '_NAN_ERROR'
fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:293:5: error: no member named 'ThrowException' in
namespace 'v8'
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:257:11: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
~~~~^
../node_modules/nan/nan.h:293:5: error: no member named 'New' in 'v8::String'
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:257:26: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:252:21: note: expanded from macro '_NAN_ERROR'
fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:297:12: error: no member named 'New' in 'v8::String'
return _NAN_ERROR(v8::Exception::RangeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:252:21: note: expanded from macro '_NAN_ERROR'
fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:301:5: error: no member named 'ThrowException' in
namespace 'v8'
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:257:11: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
~~~~^
../node_modules/nan/nan.h:301:5: error: no member named 'New' in 'v8::String'
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:257:26: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:252:21: note: expanded from macro '_NAN_ERROR'
fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:544:49: error: too few arguments to function call,
single argument 'isolate' was not specified
v8::Local<v8::Object> obj = v8::Object::New();
~~~~~~~~~~~~~~~ ^
/Users/timo/.node-gyp/0.11.13/deps/v8/include/v8.h:2457:3: note: 'New' declared
here
static Local<Object> New(Isolate* isolate);
^
In file included from ../src/binding.cc:6:
In file included from ../src/peerconnection.h:17:
In file included from ../src/datachannel.h:19:
../node_modules/nan/nan.h:545:14: error: no member named 'NewSymbol' in
'v8::String'; did you mean 'IsSymbol'?
obj->Set(NanSymbol("callback"), fn);
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:141:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
~~~~~~~~~~~~^
/Users/timo/.node-gyp/0.11.13/deps/v8/include/v8.h:1441:8: note: 'IsSymbol'
declared here
bool IsSymbol() const;
^
In file included from ../src/binding.cc:6:
In file included from ../src/peerconnection.h:17:
In file included from ../src/datachannel.h:19:
../node_modules/nan/nan.h:545:14: error: call to non-static member function
without an object argument
obj->Set(NanSymbol("callback"), fn);
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:141:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
~~~~~~~~~~~~^~~~~~~~~
../node_modules/nan/nan.h:551:12: error: no member named 'Dispose' in
'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
handle.Dispose();
~~~~~~ ^
../node_modules/nan/nan.h:552:12: error: no member named 'Clear' in
'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
handle.Clear();
~~~~~~ ^
../node_modules/nan/nan.h:556:46: error: no member named 'NewSymbol' in
'v8::String'; did you mean 'IsSymbol'?
return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:141:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
~~~~~~~~~~~~^
/Users/timo/.node-gyp/0.11.13/deps/v8/include/v8.h:1441:8: note: 'IsSymbol'
declared here
bool IsSymbol() const;
^
In file included from ../src/binding.cc:6:
In file included from ../src/peerconnection.h:17:
In file included from ../src/datachannel.h:19:
../node_modules/nan/nan.h:556:46: error: call to non-static member function
without an object argument
return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:141:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
~~~~~~~~~~~~^~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/wrtc/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/timo/Playground/wrtc/node_modules/wrtc/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1046:12)
gyp ERR! System Darwin 13.3.0
gyp ERR! command "/usr/local/Cellar/node/0.11.13/bin/node" "/Users/timo/Playground/wrtc/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--name=wrtc" "--configuration=Release" "--module_name=wrtc" "--version=0.0.22" "--patch=22" "--runtime=node" "--node_abi=node-v14" "--platform=darwin" "--arch=x64" "--target_arch=x64" "--module_main=lib/index.js" "--host=https://wrtc-binaries.s3.amazonaws.com/" "--module_path=/Users/timo/Playground/wrtc/node_modules/wrtc/lib/binding" "--remote_path=./wrtc/v0.0.22/Release/" "--package_name=wrtc-v0.0.22-node-v14-darwin-x64.tar.gz" "--staged_tarball=build/stage/wrtc/v0.0.22/Release/wrtc-v0.0.22-node-v14-darwin-x64.tar.gz" "--hosted_path=https://wrtc-binaries.s3.amazonaws.com/wrtc/v0.0.22/Release/" "--hosted_tarball=https://wrtc-binaries.s3.amazonaws.com/wrtc/v0.0.22/Release/wrtc-v0.0.22-node-v14-darwin-x64.tar.gz"
gyp ERR! cwd /Users/timo/Playground/wrtc/node_modules/wrtc
gyp ERR! node -v v0.11.13
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/0.11.13/bin/node rebuild --name=wrtc --configuration=Release --module_name=wrtc --version=0.0.22 --patch=22 --runtime=node --node_abi=node-v14 --platform=darwin --arch=x64 --target_arch=x64 --module_main=lib/index.js --host=https://wrtc-binaries.s3.amazonaws.com/ --module_path=/Users/timo/Playground/wrtc/node_modules/wrtc/lib/binding --remote_path=./wrtc/v0.0.22/Release/ --package_name=wrtc-v0.0.22-node-v14-darwin-x64.tar.gz --staged_tarball=build/stage/wrtc/v0.0.22/Release/wrtc-v0.0.22-node-v14-darwin-x64.tar.gz --hosted_path=https://wrtc-binaries.s3.amazonaws.com/wrtc/v0.0.22/Release/ --hosted_tarball=https://wrtc-binaries.s3.amazonaws.com/wrtc/v0.0.22/Release/wrtc-v0.0.22-node-v14-darwin-x64.tar.gz' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/timo/Playground/wrtc/node_modules/wrtc/node_modules/node-pre-gyp/lib/util/compile.js:76:29)
node-pre-gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:110:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:992:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1059:5)
node-pre-gyp ERR! System Darwin 13.3.0
node-pre-gyp ERR! command "node" "/Users/timo/Playground/wrtc/node_modules/wrtc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/timo/Playground/wrtc/node_modules/wrtc
node-pre-gyp ERR! node -v v0.11.13
node-pre-gyp ERR! node-pre-gyp -v v0.5.9
node-pre-gyp ERR! not ok
npm ERR! wrtc@0.0.22 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wrtc@0.0.22 install script.
npm ERR! This is most likely a problem with the wrtc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls wrtc
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "wrtc"
npm ERR! cwd /Users/timo/Playground/wrtc
npm ERR! node -v v0.11.13
npm ERR! npm -v 2.0.0-beta.0
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, open 'npm-debug.log'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "wrtc"
npm ERR! cwd /Users/timo/Playground/wrtc
npm ERR! node -v v0.11.13
npm ERR! npm -v 2.0.0-beta.0
npm ERR! path npm-debug.log
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/timo/Playground/wrtc/npm-debug.log
npm ERR! not ok code 0
Shirayuki ~/Playground/wrtc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment