Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Hurley install fails at x509 #92

Open
sohelmk opened this issue Jul 29, 2019 · 1 comment
Open

Hurley install fails at x509 #92

sohelmk opened this issue Jul 29, 2019 · 1 comment

Comments

@sohelmk
Copy link

sohelmk commented Jul 29, 2019

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(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 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):
@bernardo9999
Copy link

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

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

2 participants