convector
convector copied to clipboard
Hurley install fails at x509
The problem
Hi I am trying to install hruley on ubuntu 18.04, but it fails at the install of x509. I even tried building x509 from source with node-gyp it still fails with same error as below. Any help would be appreciated
The Issue :
node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided ../src/addon.cc:29:57: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Nan::New<FunctionTemplate>(parse_cert)->GetFunction()); ^ In file included from ./.cache/node-gyp/12.3.1/include/node/node.h:63:0, from ../include/addon.h:4, from ../src/addon.cc:4: ./.cache/node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context) V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~ ./.cache/node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided x509.target.mk:112: recipe for target 'Release/obj.target/x509/src/addon.o' fail
Environment
- Convector version (or git revision) that exhibits the issue: npm i @worldsibu/hurley
- Last Convector version that did not exhibit the issue (if applicable):
- OS/version: Ubuntu 18.04
- Node.js version: v12.3.1
- Npm or Yarn package manager:6.9.0
- Convector CLI version (if applicable):
- Hurley CLI version (if applicable):
Hi, I had the same problem, I solved it calling:
sudo npm install -g @worldsibu/hurley --unsafe-perm=true
Try to set you Node and npm version to the demands. Ive got Node 8.9.0 Npm 5.5.1