~ $ npm install jquery
npm http GET https://registry.npmjs.org/jquery
npm http 200 https://registry.npmjs.org/jquery
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/htmlparser/1.7.6
npm http GET https://registry.npmjs.org/location/0.0.1
npm http GET https://registry.npmjs.org/navigator
npm http GET https://registry.npmjs.org/contextify
npm http GET https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/htmlparser/1.7.6
npm http 304 https://registry.npmjs.org/navigator
npm http 304 https://registry.npmjs.org/location/0.0.1
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/cssom
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/ctype/0.5.2
npm http GET https://registry.npmjs.org/assert-plus/0.1.2
npm http GET https://registry.npmjs.org/asn1/0.1.11
npm http 304 https://registry.npmjs.org/bindings
[email protected] install /Users/leslie/node_modules/jquery/node_modules/contextify
node-gyp rebuild
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
CXX(target) Release/obj.target/contextify/src/contextify.o
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/async
../src/contextify.cc:22:39: error: 'New' is a private member of 'v8::Persistentv8::Object'
sandbox = Persistent::New(sbox);
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:22:47: error: too few arguments to function call, expected 2, have 1
sandbox = Persistent::New(sbox);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:40:21: error: 'operator=' is a private member of 'v8::Persistentv8::Context'
context = createV8Context();
~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:753:25: note: declared private here
V8_INLINE(Persistent& operator=(const Persistent& that)) { // NOLINT
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:40:23: warning: C++98 requires an accessible copy constructor for class 'v8::Persistentv8::Context' when binding a
reference to a temporary; was private [-Wbind-to-temporary-copy]
context = createV8Context();
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:751:13: note: declared private here
V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:41:43: error: 'New' is a private member of 'v8::Persistentv8::Object'
proxyGlobal = Persistent::New(context->Global());
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:41:54: error: 'operator->' is a private member of 'v8::Persistentv8::Context'
proxyGlobal = Persistent::New(context->Global());
~~~~~~~^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
V8_INLINE(T* operator->() const) { return val_; }
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:41:64: error: too few arguments to function call, expected 2, have 1
proxyGlobal = Persistent::New(context->Global());
~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:51:48: error: 'operator->' is a private member of 'v8::Persistentv8::Function'
Local wrapper = dataWrapperCtor->NewInstance();
~~~~~~~~~~~~~~~^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
V8_INLINE(T* operator->() const) { return val_; }
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:64:36: error: 'operator->' is a private member of 'v8::Persistentv8::Object'
ftmpl->SetClassName(sandbox->GetConstructorName());
~~~~~~~^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
V8_INLINE(T* operator->() const) { return val_; }
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:66:16: warning: 'SetNamedPropertyHandler' is deprecated [-Wdeprecated-declarations]
otmpl->SetNamedPropertyHandler(GlobalPropertyGetter,
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:3460:22: note: 'SetNamedPropertyHandler' declared here
V8_DEPRECATED(void SetNamedPropertyHandler(
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
define V8_DEPRECATED(declarator) declarator attribute ((deprecated))
../src/contextify.cc:74:25: warning: 'New' is deprecated [-Wdeprecated-declarations]
return Context::New(NULL, otmpl);
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:4961:44: note: 'New' declared here
V8_DEPRECATED(static Persistent New(
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
define V8_DEPRECATED(declarator) declarator attribute ((deprecated))
../src/contextify.cc:74:16: warning: C++98 requires an accessible copy constructor for class 'v8::Persistentv8::Context' when binding a
reference to a temporary; was private [-Wbind-to-temporary-copy]
return Context::New(NULL, otmpl);
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:751:13: note: declared private here
V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:74:16: error: calling a private constructor of class 'v8::Persistentv8::Context'
return Context::New(NULL, otmpl);
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:751:13: note: declared private here
V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:79:57: error: 'New' is a private member of 'v8::Persistentv8::FunctionTemplate'
dataWrapperTmpl = Persistent::New(FunctionTemplate::New());
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:79:84: error: too few arguments to function call, expected 2, have 1
dataWrapperTmpl = Persistent::New(FunctionTemplate::New());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:80:24: error: 'operator->' is a private member of 'v8::Persistentv8::FunctionTemplate'
dataWrapperTmpl->InstanceTemplate()->SetInternalFieldCount(1);
~~~~~~~~~~~~~~~^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
V8_INLINE(T* operator->() const) { return val_; }
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:81:49: error: 'New' is a private member of 'v8::Persistentv8::Function'
dataWrapperCtor = Persistent::New(dataWrapperTmpl->GetFunction());
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:81:68: error: 'operator->' is a private member of 'v8::Persistentv8::FunctionTemplate'
dataWrapperCtor = Persistent::New(dataWrapperTmpl->GetFunction());
~~~~~~~~~~~~~~~^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
V8_INLINE(T* operator->() const) { return val_; }
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:81:83: error: too few arguments to function call, expected 2, have 1
dataWrapperCtor = Persistent::New(dataWrapperTmpl->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:83:48: error: 'New' is a private member of 'v8::Persistentv8::FunctionTemplate'
jsTmpl = Persistent::New(FunctionTemplate::New(New));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:23: note: declared private here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:83:70: warning: 'New' is deprecated [-Wdeprecated-declarations]
jsTmpl = Persistent::New(FunctionTemplate::New(New));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:3293:48: note: 'New' declared here
V8_DEPRECATED(static Local New(
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
define V8_DEPRECATED(declarator) declarator attribute ((deprecated))
../src/contextify.cc:83:78: error: too few arguments to function call, expected 2, have 1
jsTmpl = Persistent::New(FunctionTemplate::New(New));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:782:3: note: 'New' declared here
V8_INLINE(static T* New(Isolate* isolate, T* that));
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:31: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:84:15: error: 'operator->' is a private member of 'v8::Persistentv8::FunctionTemplate'
jsTmpl->InstanceTemplate()->SetInternalFieldCount(1);
~~~~~~^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
V8_INLINE(T* operator->() const) { return val_; }
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
../src/contextify.cc:85:15: error: 'operator->' is a private member of 'v8::Persistentv8::FunctionTemplate'
jsTmpl->SetClassName(String::NewSymbol("ContextifyContext"));
~~~~~~^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:771:16: note: declared private here
V8_INLINE(T* operator->() const) { return val_; }
^
/Users/leslie/.node-gyp/0.11.5/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
define V8_INLINE(declarator) inline attribute((always_inline)) declarator
fatal error: too many errors emitted, stopping now [-ferror-limit=]
npm http 304 https://registry.npmjs.org/ctype/0.5.2
5 warnings and 20 errors generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/leslie/.nvm/v0.11.5/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:103:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:794:12)
gyp ERR! System Darwin 12.4.0
gyp ERR! command "node" "/Users/leslie/.nvm/v0.11.5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! npm http 304 https://registry.npmjs.org/asn1/0.1.11
cwd /Users/leslie/node_modules/jquery/node_modules/contextify
gyp ERR! node -v v0.11.5
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/hoek
npm ERR! Error: ENOENT, lstat '/Users/leslie/node_modules/jquery/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/async/component.json'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Darwin 12.4.0
npm ERR! command "/Users/leslie/.nvm/v0.11.5/bin/node" "/Users/leslie/.nvm/v0.11.5/bin/npm" "install" "jquery"
npm ERR! cwd /Users/leslie
npm ERR! node -v v0.11.5
npm ERR! npm -v 1.3.6
npm ERR! path /Users/leslie/node_modules/jquery/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/async/component.json
npm ERR! fstream_path /Users/leslie/node_modules/jquery/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/async/component.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /Users/leslie/.nvm/v0.11.5/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:96:15)
npm http 304 https://registry.npmjs.org/cryptiles
npm ERR! Error: ENOENT, lstat '/Users/leslie/node_modules/jquery/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/fixture/file1.txt'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Darwin 12.4.0
npm ERR! command "/Users/leslie/.nvm/v0.11.5/bin/node" "/Users/leslie/.nvm/v0.11.5/bin/npm" "install" "jquery"
npm ERR! cwd /Users/leslie
npm ERR! node -v v0.11.5
npm ERR! npm -v 1.3.6
npm ERR! path /Users/leslie/node_modules/jquery/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/fixture/file1.txt
npm ERR! fstream_path /Users/leslie/node_modules/jquery/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/fixture/file1.txt
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /Users/leslie/.nvm/v0.11.5/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:96:15)
npm ERR! weird error 1
npm http 304 https://registry.npmjs.org/assert-plus/0.1.2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/leslie/npm-debug.log
npm ERR! not ok code 0
~ $