Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Support node v4.0 #27

Closed
mickhansen opened this issue Sep 11, 2015 · 21 comments
Closed

Support node v4.0 #27

mickhansen opened this issue Sep 11, 2015 · 21 comments

Comments

@mickhansen
Copy link

I'm sure you're aware of it, so just opening this issue as a tracker.
Sequelize depends on this library so looking forward to being able to run our test suite for 4.0 aswell :)

@brianc
Copy link
Owner

brianc commented Sep 11, 2015

I'm having a problem debugging why node-libpq fails to build on node v4.0.0

When I run npm install in the node-libpq directory I get this error:

$ npm i
-
> libpq@1.7.0 install /Users/brianc/src/node-libpq
> node-gyp rebuild

gyp: /Users/brianc/.node-gyp/4.0.0/common.gypi not found (cwd: /Users/brianc/src/node-libpq) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/brianc/local/node@v4.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:357:16)
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/brianc/local/node@v4.0.0/bin/node" "/Users/brianc/local/node@v4.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/brianc/src/node-libpq
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok

npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/brianc/local/node@v4.0.0/bin/node" "/Users/brianc/local/node/bin/npm" "i"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.3
npm ERR! code ELIFECYCLE
npm ERR! libpq@1.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the libpq@1.7.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the libpq 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 libpq
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/brianc/src/node-libpq/npm-debug.log

I don't really have time to debug this right now - do you have any ideas?

@mickhansen
Copy link
Author

The build error here has a bit more info: https://travis-ci.org/sequelize/sequelize/jobs/79843094
I don't know much about linking to native libs at all, i assume you've updated NaN?

@brianc
Copy link
Owner

brianc commented Sep 11, 2015

I figured out the issue! 💃 Apparently there's some stuff still fubar with npm, nan, and node-gyp in the most recent version of npm: nodejs/node-gyp#711

npm@2.14.4 fixes the issue. It's still pre-release so you can either add a .travis.yml step to manually install it:

before_install:
  npm i npm@2.14.4 --global

or we can wait until its released not as a pre-release flag. Then this should compile normally. I verified it works locally with npm@2.14.4 installed. Sorry for the headache!

@mickhansen
Copy link
Author

Thanks for looking into it @brianc. I think we'll start out with using a pre-release.
We're currently supporting 0.10, 0.12, io-1, io-2 and now Node 4, would really like to cut out some of the versions soon (build matrix keeps growing and growing).

@frenchie4111
Copy link

Any status on Node 4.X support? We are using pg-native & sequelize, and would like to update our project to node 4 asap. Thanks

@pensierinmusica
Copy link

@brianc on my machine npm i pg-native fails even with npm@2.14.4:

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 69
gyp ERR! stack     at ChildProcess.onExit (/usr/local/Cellar/nvm/versions/node/v4.1.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 "/usr/local/Cellar/nvm/versions/node/v4.1.0/bin/node" "/usr/local/Cellar/nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /temp/app/node_modules/pg-native/node_modules/libpq
gyp ERR! node -v v4.1.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok 
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/nvm/versions/node/v4.1.0/bin/node" "/usr/local/Cellar/nvm/versions/node/v4.1.0/bin/npm" "i" "pg-native"
npm ERR! node v4.1.0
npm ERR! npm  v2.14.4
npm ERR! code ELIFECYCLE

npm ERR! libpq@1.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the libpq@1.7.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the libpq 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 libpq
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /temp/app/npm-debug.log

@brianc
Copy link
Owner

brianc commented Sep 20, 2015

@mickhansen pg-native & libpq are both buliding fine for me on node v4.0.0 now. Are they working for you?

08:14:09 ~/src/node-pg-native (master)
$ npm i

> libpq@1.7.0 install /Users/brianc/src/node-pg-native/node_modules/libpq
> node-gyp rebuild

  CXX(target) Release/obj.target/addon/src/connection.o
  CXX(target) Release/obj.target/addon/src/connect-async-worker.o
  CXX(target) Release/obj.target/addon/src/addon.o
  SOLINK_MODULE(target) Release/addon.node
pg-types@1.6.0 node_modules/pg-types

generic-pool@2.2.0 node_modules/generic-pool

async@0.9.2 node_modules/async

semver@4.3.6 node_modules/semver

okay@0.3.0 node_modules/okay
└── sliced@0.0.5

lodash@2.4.2 node_modules/lodash

readable-stream@1.0.31 node_modules/readable-stream
├── inherits@2.0.1
├── isarray@0.0.1
├── string_decoder@0.10.31
└── core-util-is@1.0.1

08:16:16 ~/src/node-pg-native (master)
$ npm --version
2.14.4

08:17:55 ~/src/node-pg-native (master)
$ node --version
v4.0.0

$ mocha -R dot
(node) child_process: options.customFds option is deprecated. Use options.stdio instead.


  ․․․got stream
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  81 passing (4s)

@jimtang9527
Copy link

iojs-3.3.1 has build error
Now using io.js v3.3.1
npm --version
2.14.3

https://s3.amazonaws.com/archive.travis-ci.org/jobs/82477303/log.txt

make: Entering directory `/home/travis/build/minicloud/minicloud/node_modules/pg-native/node_modules/libpq/build'
CXX(target) Release/obj.target/addon/src/connection.o
In file included from /home/travis/.node-gyp/iojs-3.3.1/include/node/node.h:42:0,
from ../node_modules/nan/nan.h:24,
from ../src/addon.h:4,
from ../src/connection.cc:1:
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:468:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:499:48: error: ‘Handle’ does not name a type
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:499:48: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:499:54: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:520:54: error: ‘Handle’ does not name a type
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:520:54: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:520:60: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:533:54: error: ‘Handle’ does not name a type
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:533:54: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:533:60: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h: In member function ‘bool v8::PersistentBase::operator==(int) const’:
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:522:65: error: ‘that’ was not declared in this scope
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h: In member function ‘bool v8::PersistentBase::operator!=(int) const’:
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:534:24: error: ‘that’ was not declared in this scope
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h: At global scope:
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:700:61: error: ‘Handle’ has not been declared
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:700:67: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h: In constructor ‘v8::Persistent<T, M>::Persistent(v8::Isolate*, int)’:
/home/travis/.node-gyp/iojs-3.3.1/include/node/v8.h:701:60: error: ‘that’ was not declared in this scope

@moretti
Copy link

moretti commented Oct 6, 2015

I can build pg-native & libpq in my local machine (OSX 10.11 & node 4.1.2), but I get the following error in Travis CI:

3.92s$ nvm install 4

######################################################################## 100.0%

Checksums empty

Now using node v4.1.2

$ node --version

v4.1.2

$ npm --version

2.14.4

$ nvm --version

0.23.3

126.34s$ npm install 

> libpq@1.7.0 install /home/travis/build/project/node_modules/pg-native/node_modules/libpq

> node-gyp rebuild

make: Entering directory `/home/travis/build/project/node_modules/pg-native/node_modules/libpq/build'
  CXX(target) Release/obj.target/addon/src/connection.o
In file included from /home/travis/.node-gyp/4.1.2/include/node/node.h:42:0,
                 from ../node_modules/nan/nan.h:24,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
/home/travis/.node-gyp/4.1.2/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/4.1.2/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/4.1.2/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’
In file included from ../node_modules/nan/nan.h:182:0,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type

(...)

../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../node_modules/nan/nan.h:639:3: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Release/obj.target/addon/src/connection.o] Error 1
make: Leaving directory `/home/travis/build/project/node_modules/pg-native/node_modules/libpq/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.2/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 Linux 3.13.0-40-generic
gyp ERR! command "/home/travis/.nvm/versions/node/v4.1.2/bin/node" "/home/travis/.nvm/versions/node/v4.1.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/travis/build/project/node_modules/pg-native/node_modules/libpq
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
npm WARN optional dep failed, continuing fsevents@1.0.1

@msolujic
Copy link

I had same exact issue like @pensierinmusica described, with Atlassian Bamboo server running on ubuntu:

error   26-Oct-2015 10:40:06    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.1"
error   26-Oct-2015 10:40:06    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/bamboo/bamboo-home/xml-data/build-dir/API-APID-JOB1/node_modules/pg-native/node_modules/libpq/.node-gyp"
error   26-Oct-2015 10:40:07    You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
error   26-Oct-2015 10:40:07    gyp: Call to '/usr/bin/pg_config --libdir' returned exit status 1. while trying to load binding.gyp
error   26-Oct-2015 10:40:07    gyp ERR! configure error 
error   26-Oct-2015 10:40:07    gyp ERR! stack Error: `gyp` failed with exit code: 1
error   26-Oct-2015 10:40:07    gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
error   26-Oct-2015 10:40:07    gyp ERR! stack     at emitTwo (events.js:87:13)
error   26-Oct-2015 10:40:07    gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
error   26-Oct-2015 10:40:07    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
error   26-Oct-2015 10:40:07    gyp ERR! System Linux 3.13.0-48-generic
error   26-Oct-2015 10:40:07    gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
error   26-Oct-2015 10:40:07    gyp ERR! cwd /opt/bamboo/bamboo-home/xml-data/build-dir/API-APID-JOB1/node_modules/pg-native/node_modules/libpq
error   26-Oct-2015 10:40:07    gyp ERR! node -v v4.2.1
error   26-Oct-2015 10:40:07    gyp ERR! node-gyp -v v3.0.3
error   26-Oct-2015 10:40:07    gyp ERR! not ok 
error   26-Oct-2015 10:40:24    npm ERR! Linux 3.13.0-48-generic
error   26-Oct-2015 10:40:24    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
error   26-Oct-2015 10:40:24    npm ERR! node v4.2.1
error   26-Oct-2015 10:40:24    npm ERR! npm  v2.14.7
error   26-Oct-2015 10:40:24    npm ERR! code ELIFECYCLE
error   26-Oct-2015 10:40:24    
error   26-Oct-2015 10:40:24    npm ERR! libpq@1.7.0 install: `node-gyp rebuild`
error   26-Oct-2015 10:40:24    npm ERR! Exit status 1
error   26-Oct-2015 10:40:24    npm ERR! 
error   26-Oct-2015 10:40:24    npm ERR! Failed at the libpq@1.7.0 install script 'node-gyp rebuild'.
error   26-Oct-2015 10:40:24    npm ERR! This is most likely a problem with the libpq package,
error   26-Oct-2015 10:40:24    npm ERR! not with npm itself.
error   26-Oct-2015 10:40:24    npm ERR! Tell the author that this fails on your system:
error   26-Oct-2015 10:40:24    npm ERR!     node-gyp rebuild
error   26-Oct-2015 10:40:24    npm ERR! You can get their info via:
error   26-Oct-2015 10:40:24    npm ERR!     npm owner ls libpq
error   26-Oct-2015 10:40:24    npm ERR! There is likely additional logging output above.

@brianc
Copy link
Owner

brianc commented Oct 26, 2015

Does this part of the error message help at all? I'm not totally familiar with your system, but you'll likely need to install the postgresql dev headers:

You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. error gyp: Call to '/usr/bin/pg_config --libdir' returned exit status 1. while trying to load binding.gyp

@msolujic
Copy link

@brianc you were right,
problem for me was solved by actually installing missing underlying things, namely:

    sudo apt-get install python-psycopg2
    sudo apt-get install libpq-dev
    sudo apt-get install build-essential
    sudo npm install -g sequelize-cli

@brianc
Copy link
Owner

brianc commented Oct 27, 2015

👍 glad you got it sorted out!

On Tue, Oct 27, 2015 at 11:31 AM, Milos Solujic notifications@github.com
wrote:

@brianc https://github.com/brianc you were right,
problem for me was solved by actually installing missing underlying
things, namely:

sudo service postgresql status
sudo apt-get install python-psycopg2
sudo apt-get install libpq-dev
sudo apt-get install build-essential
sudo npm install -g sequelize-cli


Reply to this email directly or view it on GitHub
#27 (comment)
.

@mghaderyan-nisum-com
Copy link

This still fails on npm 2.14.7. Any idea?

@fanatid
Copy link

fanatid commented Nov 23, 2015

@mghaderyan-nisum-com Can you show error message? because all looks fine:

$ nvm use 4.2.2
Now using node v4.2.2 (npm v2.14.7)
$ npm -v
2.14.7
$ npm install pg-native
/
> libpq@1.8.0 install /home/kirill/tmp/node_modules/pg-native/node_modules/libpq
> node-gyp rebuild

make: Entering directory '/home/kirill/tmp/node_modules/pg-native/node_modules/libpq/build'
  CXX(target) Release/obj.target/addon/src/connection.o
  CXX(target) Release/obj.target/addon/src/connect-async-worker.o
  CXX(target) Release/obj.target/addon/src/addon.o
  SOLINK_MODULE(target) Release/obj.target/addon.node
  COPY Release/addon.node
make: Leaving directory '/home/kirill/tmp/node_modules/pg-native/node_modules/libpq/build'
pg-native@1.9.0 node_modules/pg-native
├── pg-types@1.6.0
├── readable-stream@1.0.31 (isarray@0.0.1, string_decoder@0.10.31, inherits@2.0.1, core-util-is@1.0.2)
└── libpq@1.8.0 (bindings@1.2.1, nan@2.1.0)

@mghaderyan-nisum-com
Copy link

Sorry my mistake. I think I do not have pg_config on CI server. I was trying to run my migration scripts using db-migrate that depends on this library.

Now using node v4.2.2
$ node --version
v4.2.2
$ npm --version
2.14.7
$ nvm --version
0.23.3
40.80s$ npm install 
npm WARN optional dep failed, continuing fsevents@1.0.5
> libpq@1.8.0 install /home/travis/build/nisum-inc/imp-api/node_modules/pg-native/node_modules/libpq
> node-gyp rebuild
make: Entering directory `/home/travis/build/nisum-inc/imp-api/node_modules/pg-native/node_modules/libpq/build'
  CXX(target) Release/obj.target/addon/src/connection.o
In file included from ../src/addon.h:4:0,
                 from ../src/connection.cc:1:
../node_modules/nan/nan.h:41:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
In file included from /home/travis/.node-gyp/4.2.2/include/node/node.h:42:0,
                 from ../node_modules/nan/nan.h:45,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/4.2.2/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/4.2.2/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’
In file included from ../node_modules/nan/nan.h:194:0,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a type
In file included from ../node_modules/nan/nan.h:199:0,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
In file included from ../node_modules/nan/nan_converters.h:59:0,
                 from ../node_modules/nan/nan.h:199,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
In file included from ../node_modules/nan/nan.h:200:0,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:
../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../node_modules/nan/nan_new.h:21:32: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:
../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../node_modules/nan/nan_new.h:28:30: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:
../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../node_modules/nan/nan_new.h:35:31: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan_new.h: At global scope:
../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
In file included from ../node_modules/nan/nan_new.h:189:0,
                 from ../node_modules/nan/nan.h:200,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:
../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope
../node_modules/nan/nan_implementation_12_inl.h: At global scope:
../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
In file included from ../node_modules/nan/nan.h:200:0,
                 from ../src/addon.h:4,
                 from ../src/connection.cc:1:
../node_modules/nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
In file included from ../src/addon.h:4:0,
                 from ../src/connection.cc:1:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../node_modules/nan/nan.h:651:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:
../node_modules/nan/nan.h:651:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:
../node_modules/nan/nan.h:652:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
../node_modules/nan/nan.h:652:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:
../node_modules/nan/nan.h:653:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
../node_modules/nan/nan.h:653:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:
../node_modules/nan/nan.h:654:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
../node_modules/nan/nan.h:654:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:
../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:663:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:685:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:701:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:714:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:731:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:737:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:745:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:752:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:758:14: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:
../node_modules/nan/nan.h:1394:40: error: ‘Set’ was not declared in this scope
../node_modules/nan/nan.h:1394:40: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1516:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../node_modules/nan/nan.h:1534:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:
../node_modules/nan/nan.h:1568:58: error: no matching function for call to ‘New(const char*)’
../node_modules/nan/nan.h:1568:58: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:
../node_modules/nan/nan.h:1857:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
../node_modules/nan/nan.h:1857:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../node_modules/nan/nan.h:1858:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:
../node_modules/nan/nan.h:1870:32: error: ‘GetFunction’ was not declared in this scope
../node_modules/nan/nan.h:1871:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
../node_modules/nan/nan.h:1896:47: error: ‘NewInstance’ was not declared in this scope
../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../node_modules/nan/nan.h:1939:51: error: ‘NewInstance’ was not declared in this scope
../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:1987:47: error: ‘NewInstance’ was not declared in this scope
../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:2057:47: error: ‘NewInstance’ was not declared in this scope
../node_modules/nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:2112:47: error: ‘NewInstance’ was not declared in this scope
../node_modules/nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:2134:47: error: ‘NewInstance’ was not declared in this scope
In file included from ../src/addon.h:4:0,
                 from ../src/connection.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:
../node_modules/nan/nan.h:2161:35: error: no matching function for call to ‘New(const char*&)’
../node_modules/nan/nan.h:2161:35: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../node_modules/nan/nan.h:2162:47: error: ‘GetFunction’ was not declared in this scope
../node_modules/nan/nan.h:2162:65: error: ‘Set’ was not declared in this scope
../node_modules/nan/nan.h:2162:65: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:2169:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
../node_modules/nan/nan.h:2169:30: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
../node_modules/nan/nan.h:2182:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
../node_modules/nan/nan.h:2188:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:2212:10: error: ‘MaybeLocal’ does not name a type
../node_modules/nan/nan.h:2217:40: error: ‘MaybeLocal’ was not declared in this scope
../node_modules/nan/nan.h:2217:40: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:111:7: note:   ‘v8::MaybeLocal’
../node_modules/nan/nan.h:2217:52: error: template argument 1 is invalid
../node_modules/nan/nan.h:2217:54: error: expected unqualified-id before ‘>’ token
../node_modules/nan/nan.h:2226:1: error: ‘MaybeLocal’ does not name a type
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::GetLastErrorMessage(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:63:52: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::Prepare(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:130:44: error: no matching function for call to ‘To(v8::Local<v8::Value>)’
../src/connection.cc:130:44: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::Fname(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:210:57: error: no matching function for call to ‘New(char*&)’
../src/connection.cc:210:57: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::Getvalue(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:239:48: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::CmdStatus(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:263:56: error: no matching function for call to ‘New(char*&)’
../src/connection.cc:263:56: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::CmdTuples(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:273:56: error: no matching function for call to ‘New(char*&)’
../src/connection.cc:273:56: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::ResultStatus(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:284:56: error: no matching function for call to ‘New(char*&)’
../src/connection.cc:284:56: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::ResultErrorMessage(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:295:56: error: no matching function for call to ‘New(char*&)’
../src/connection.cc:295:56: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::ResultErrorFields(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:314:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:314:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:314:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:314:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:315:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:315:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:315:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:315:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:316:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:316:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:316:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:316:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:317:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:317:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:317:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:317:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:318:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:318:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:318:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:318:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:319:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:319:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:319:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:319:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:320:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:320:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:320:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:320:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:321:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:321:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:321:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:321:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:322:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:322:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:322:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:322:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:330:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:330:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:330:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:330:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:331:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:331:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:331:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:331:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:332:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:332:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:332:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:332:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::SendPrepare(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:384:44: error: no matching function for call to ‘To(v8::Local<v8::Value>)’
../src/connection.cc:384:44: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::SetNonBlocking(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:489:59: error: no matching function for call to ‘To(v8::Local<v8::Value>)’
../src/connection.cc:489:59: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::EscapeLiteral(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:520:50: error: no matching function for call to ‘To(v8::Local<v8::Value>)’
../src/connection.cc:520:50: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../src/connection.cc:530:46: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::EscapeIdentifier(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:539:50: error: no matching function for call to ‘To(v8::Local<v8::Value>)’
../src/connection.cc:539:50: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../src/connection.cc:549:46: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::Notifies(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:567:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:567:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:567:40: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:567:81: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:568:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:568:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:568:38: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:568:77: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc:569:3: error: ‘Set’ is not a member of ‘Nan’
../src/connection.cc:569:3: note: suggested alternative:
/home/travis/.node-gyp/4.2.2/include/node/v8.h:3021:17: note:   ‘v8::Set’
../src/connection.cc:569:39: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::GetCopyData(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:628:29: error: ‘CopyBuffer’ is not a member of ‘Nan’
../src/connection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Connection::Cancel(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/connection.cc:657:47: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
../src/connection.cc: In static member function ‘static char* Connection::NewCString(v8::Local<v8::Value>)’:
../src/connection.cc:750:54: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
../src/connection.cc:750:54: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../src/connection.cc: In static member function ‘static char** Connection::NewCStringArray(v8::Local<v8::Array>)’:
../src/connection.cc:765:32: error: ‘Get’ is not a member of ‘Nan’
../src/connection.cc: In member function ‘void Connection::Emit(const char*)’:
../src/connection.cc:792:33: error: ‘Get’ is not a member of ‘Nan’
../src/connection.cc:792:81: error: no matching function for call to ‘New(const char [5])’
../src/connection.cc:792:81: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../src/connection.cc:796:65: error: no matching function for call to ‘New(const char*&)’
../src/connection.cc:796:65: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../node_modules/nan/nan.h:651:3: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Release/obj.target/addon/src/connection.o] Error 1
make: Leaving directory `/home/travis/build/nisum-inc/imp-api/node_modules/pg-native/node_modules/libpq/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.2.2/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 Linux 3.13.0-40-generic
gyp ERR! command "/home/travis/.nvm/versions/node/v4.2.2/bin/node" "/home/travis/.nvm/versions/node/v4.2.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/travis/build/nisum-inc/imp-api/node_modules/pg-native/node_modules/libpq
gyp ERR! node -v v4.2.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
npm WARN peerDependencies The peer dependency loopback-datasource-juggler@^2.19.0 included from loopback 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 ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v4.2.2/bin/node" "/home/travis/.nvm/versions/node/v4.2.2/bin/npm" "install"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! libpq@1.8.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the libpq@1.8.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the libpq 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 libpq
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/travis/build/nisum-inc/imp-api/npm-debug.log
The command "eval npm install " failed. Retrying, 2 of 3.

@fanatid
Copy link

fanatid commented Nov 23, 2015

As I understand CI service is Travis? Can you show .travis.yml? Or you can see my working travis config for project that use pg-native.

@mghaderyan-nisum-com
Copy link

Thanks. the following is my travis.yml:

language: node_js
node_js:
  - 4.2.2
sudo: false
script:
  - npm test
deploy:
  provider: heroku
  api_key:
    secure: something
  app:
    master: myapp-staging

@brianc
Copy link
Owner

brianc commented Nov 23, 2015

yeah you need to add that C++ mumbo jumbo to your travis config. Thanks for
the help Meysam!

On Mon, Nov 23, 2015 at 11:59 AM, Meysam Ghaderyan <notifications@github.com

wrote:

Thanks. the following is my travis.yml:

language: node_js
node_js:

  • 4.2.2
    sudo: false
    script:
  • npm test
    deploy:
    provider: heroku
    api_key:
    secure: something
    app:
    master: myapp-staging


Reply to this email directly or view it on GitHub
#27 (comment)
.

@brianc
Copy link
Owner

brianc commented Nov 23, 2015

@brianc brianc closed this as completed Nov 23, 2015
@mghaderyan-nisum-com
Copy link

Thanks a lot for your help Brian.

coderbyheart pushed a commit to ausgaben/ausgaben-node that referenced this issue Jan 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants