Skip to content

Instantly share code, notes, and snippets.

@brianmcd
Created September 13, 2015 00:17
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 brianmcd/b99c9f4110ab9a3a5449 to your computer and use it in GitHub Desktop.
Save brianmcd/b99c9f4110ab9a3a5449 to your computer and use it in GitHub Desktop.
node 0.12.7
CXX(target) Release/obj.target/contextify/src/contextify.o
../src/contextify.cc:83:9: error: no template named 'MaybeLocal'; did you mean 'Nan::MaybeLocal'?
MaybeLocal<Nan::BoundScript> script;
^~~~~~~~~~
Nan::MaybeLocal
../node_modules/nan/nan_maybe_pre_43_inl.h:13:7: note: 'Nan::MaybeLocal' declared here
class MaybeLocal {
^
../src/contextify.cc:94:33: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_12_inl.h:46:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_12_inl.h:51:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:56:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:61:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:27:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:32:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:89:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:102:35: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_12_inl.h:46:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_12_inl.h:51:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:56:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:61:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:27:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:32:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:89:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:142:58: error: use of undeclared identifier 'WeakCallbackType'; did you mean 'Nan::WeakCallbackType'?
persistent.SetWeak(contextWrapper, weakCallback, WeakCallbackType::kParameter);
^~~~~~~~~~~~~~~~
Nan::WeakCallbackType
../node_modules/nan/nan.h:291:8: note: 'Nan::WeakCallbackType' declared here
struct WeakCallbackType {
^
../src/contextify.cc:307:33: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_12_inl.h:46:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_12_inl.h:51:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:56:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:61:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:27:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:32:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:89:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:334:33: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_12_inl.h:46:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_12_inl.h:51:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:56:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:61:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:27:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:32:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:89:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:340:35: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_12_inl.h:46:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_12_inl.h:51:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:56:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:61:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_12_inl.h:27:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:32:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_12_inl.h:89:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
7 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/brianmcd/local/lib/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.5.0
gyp ERR! command "node" "/Users/brianmcd/local/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/brianmcd/projects/contextify
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment