Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on installing libpq #63

Open
indreek opened this issue Jul 11, 2018 · 0 comments
Open

Error on installing libpq #63

indreek opened this issue Jul 11, 2018 · 0 comments

Comments

@indreek
Copy link

indreek commented Jul 11, 2018

Im trying to do simple npm install libpq and i get error

npm install libpq
> [email protected] install /tmp/nodejs/node_modules/libpq
> node-gyp rebuild

make: Entering directory '/tmp/nodejs/node_modules/libpq/build'
  CXX(target) Release/obj.target/addon/src/connection.o
../src/connection.cc: In member function ‘void Connection::Emit(const char*)’:
../src/connection.cc:804:46: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
   Nan::MakeCallback(handle(), emit_f, 1, info);
                                              ^
In file included from ../src/addon.h:4:0,
                 from ../src/connection.cc:1:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
  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 '/tmp/nodejs/node_modules/libpq/build'
npm WARN saveError ENOENT: no such file or directory, open '/tmp/nodejs/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/tmp/nodejs/package.json'
npm WARN nodejs No description
npm WARN nodejs No repository field.
npm WARN nodejs No README data
npm WARN nodejs No license field.

+ [email protected]
added 3 packages in 1.885s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant