Skip to content

Instantly share code, notes, and snippets.

@kumavis
Created August 6, 2015 07:33
Show Gist options
  • Save kumavis/c5ae1ba5b7ca2fa0e2d2 to your computer and use it in GitHub Desktop.
Save kumavis/c5ae1ba5b7ca2fa0e2d2 to your computer and use it in GitHub Desktop.
╭─kumavis@xyzs-MacBook-Pro ~/dev/wowser ‹node-v0.12.7› (master)
╰─$ npm i
npm WARN engine pngjs@0.4.0: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN peerDependencies The peer dependency chai@>=1.9.2 <4 included from sinon-chai 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 WARN peerDependencies The peer dependency sinon@>=1.4.0 <2 included from sinon-chai 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.
> base64@2.1.0 install /Users/kumavis/dev/wowser/node_modules/websockify/node_modules/base64
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/base64/base64.o
../base64.cc:13:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/kumavis/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../base64.cc:14:52: error: no member named 'New' in 'v8::String'
return ThrowException(Exception::Error(String::New(msg)));
~~~~~~~~^
../base64.cc:122:29: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
base64_encode_binding(const Arguments &args)
^~~~~~~~~
v8::internal::Arguments
/Users/kumavis/.node-gyp/0.12.7/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../base64.cc:124:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/kumavis/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../base64.cc:127:13: error: member access into incomplete type 'const v8::internal::Arguments'
if (args.Length() != 1)
^
/Users/kumavis/.node-gyp/0.12.7/deps/v8/include/v8.h:127:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
../base64.cc:130:33: error: type 'const v8::internal::Arguments' does not provide a subscript operator
if (Buffer::HasInstance(args[0])) {
~~~~^~
../base64.cc:131:45: error: type 'const v8::internal::Arguments' does not provide a subscript operator
v8::Handle<v8::Object> buffer = args[0]->ToObject();
~~~~^~
../base64.cc:137:18: error: type 'const v8::internal::Arguments' does not provide a subscript operator
else if (args[0]->IsString()) {
~~~~^~
../base64.cc:138:38: error: type 'const v8::internal::Arguments' does not provide a subscript operator
String::Utf8Value v8str (args[0]->ToString());
~~~~^~
../base64.cc:144:33: error: no member named 'New' in 'v8::String'
Local<String> ret = String::New(str);
~~~~~~~~^
../base64.cc:146:18: error: no member named 'Close' in 'v8::HandleScope'
return scope.Close(ret);
~~~~~ ^
../base64.cc:150:29: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
base64_decode_binding(const Arguments &args)
^~~~~~~~~
v8::internal::Arguments
/Users/kumavis/.node-gyp/0.12.7/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../base64.cc:152:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/kumavis/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../base64.cc:155:13: error: member access into incomplete type 'const v8::internal::Arguments'
if (args.Length() < 1)
^
/Users/kumavis/.node-gyp/0.12.7/deps/v8/include/v8.h:127:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
../base64.cc:160:33: error: type 'const v8::internal::Arguments' does not provide a subscript operator
if (Buffer::HasInstance(args[0])) { // buffer
~~~~^~
../base64.cc:161:45: error: type 'const v8::internal::Arguments' does not provide a subscript operator
v8::Handle<v8::Object> buffer = args[0]->ToObject();
~~~~^~
../base64.cc:170:17: error: no member named 'AsciiValue' in 'v8::String'
String::AsciiValue b64data(args[0]->ToString());
~~~~~~~~^
../base64.cc:171:34: error: use of undeclared identifier 'b64data'
decoded = base64_decode(*b64data, b64data.length(), &outlen);
^
../base64.cc:171:43: error: use of undeclared identifier 'b64data'
decoded = base64_decode(*b64data, b64data.length(), &outlen);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/base64/base64.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/kumavis/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "node" "/Users/kumavis/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/kumavis/dev/wowser/node_modules/websockify/node_modules/base64
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
> utf-8-validate@1.1.0 install /Users/kumavis/dev/wowser/node_modules/websockify/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
> bufferutil@1.1.0 install /Users/kumavis/dev/wowser/node_modules/websockify/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
> fsevents@0.3.7 install /Users/kumavis/dev/wowser/node_modules/gulp-riot/node_modules/riot/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> ref@1.0.2 install /Users/kumavis/dev/wowser/node_modules/blizzardry/node_modules/ref
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/binding/src/binding.o
SOLINK_MODULE(target) Release/binding.node
|
> ffi@1.3.2 install /Users/kumavis/dev/wowser/node_modules/blizzardry/node_modules/ffi
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o
CC(target) Release/obj.target/ffi/deps/libffi/src/types.o
CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o
CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o
CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi64.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin64.o
LIBTOOL-STATIC Release/libffi.a
CXX(target) Release/obj.target/ffi_bindings/src/ffi.o
CXX(target) Release/obj.target/ffi_bindings/src/callback_info.o
../src/callback_info.cc:151:12: warning: 'NanThrowError' is deprecated [-Wdeprecated-declarations]
return THROW_ERROR_EXCEPTION_WITH_STATUS_CODE("ffi_prep_closure() Returned Error", status);
^
../src/ffi.h:25:54: note: expanded from macro 'THROW_ERROR_EXCEPTION_WITH_STATUS_CODE'
#define THROW_ERROR_EXCEPTION_WITH_STATUS_CODE(x, y) NanThrowError(x, y)
^
../node_modules/nan/nan.h:741:34: note: 'NanThrowError' has been explicitly marked deprecated here
NAN_DEPRECATED NAN_INLINE void NanThrowError(
^
1 warning generated.
CXX(target) Release/obj.target/ffi_bindings/src/threaded_callback_invokation.o
SOLINK_MODULE(target) Release/ffi_bindings.node
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
npm ERR! Darwin 14.4.0
npm ERR! argv "/Users/kumavis/.nvm/versions/node/v0.12.7/bin/node" "/Users/kumavis/.nvm/versions/node/v0.12.7/bin/npm" "i"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! base64@2.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the base64@2.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the base64 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls base64
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/kumavis/dev/wowser/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment