npm install
> [email protected] install /Users/mark/projects/hledger-vscode2/node_modules/oniguruma
> node-gyp rebuild
CC(target) Release/obj.target/oniguruma/deps/onig/regcomp.o
CC(target) Release/obj.target/oniguruma/deps/onig/regenc.o
CC(target) Release/obj.target/oniguruma/deps/onig/regerror.o
CC(target) Release/obj.target/oniguruma/deps/onig/regexec.o
CC(target) Release/obj.target/oniguruma/deps/onig/regext.o
CC(target) Release/obj.target/oniguruma/deps/onig/reggnu.o
CC(target) Release/obj.target/oniguruma/deps/onig/regparse.o
CC(target) Release/obj.target/oniguruma/deps/onig/regposerr.o
CC(target) Release/obj.target/oniguruma/deps/onig/regposix.o
CC(target) Release/obj.target/oniguruma/deps/onig/regsyntax.o
CC(target) Release/obj.target/oniguruma/deps/onig/regtrav.o
CC(target) Release/obj.target/oniguruma/deps/onig/regversion.o
CC(target) Release/obj.target/oniguruma/deps/onig/st.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/ascii.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/big5.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/cp1251.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_jp.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_kr.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_tw.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/gb18030.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_1.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_2.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_3.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_4.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_5.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_6.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_7.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_8.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_9.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_10.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_11.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_13.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_14.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_15.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_16.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/koi8.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/koi8_r.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/mktable.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/sjis.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/unicode.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf16_be.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf16_le.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf32_be.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf32_le.o
CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf8.o
LIBTOOL-STATIC Release/oniguruma.a
CXX(target) Release/obj.target/onig_scanner/src/onig-result.o
CXX(target) Release/obj.target/onig_scanner/src/onig-reg-exp.o
CXX(target) Release/obj.target/onig_scanner/src/onig-scanner.o
../src/onig-scanner.cc:13:82: error: too few arguments to function call, single argument
'context' was not specified
target->Set(Nan::New<String>("OnigScanner").ToLocalChecked(), tpl->GetFunction());
~~~~~~~~~~~~~~~~ ^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:6475:3: note: 'GetFunction'
declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8config.h:431:31: note: expanded
from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/onig-scanner.cc:42:85: error: too few arguments to function call, single argument
'context' was not specified
OnigString* onigString = node::ObjectWrap::Unwrap<OnigString>(info[0]->ToObject());
~~~~~~~~~~~~~~~~~ ^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:2822:3: note: 'ToObject'
declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8config.h:431:31: note: expanded
from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/onig-scanner.cc:61:42: error: no matching member function for call to 'Get'
String::Utf8Value utf8Value(sources->Get(i));
~~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3717:43: note: candidate
function not viable: requires 2 arguments, but 1 was provided
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3720:43: note: candidate
function not viable: requires 2 arguments, but 1 was provided
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^
../src/onig-scanner.cc:91:13: error: no matching member function for call to 'Set'
result->Set(Nan::New<String>("index").ToLocalChecked(), Nan::New<Number>(bestResu...
~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3670:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3673:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/onig-scanner.cc:92:13: error: no matching member function for call to 'Set'
result->Set(Nan::New<String>("captureIndices").ToLocalChecked(), CaptureIndicesFo...
~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3670:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3673:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/onig-scanner.cc:108:14: error: no matching member function for call to 'Set'
capture->Set(Nan::New<String>("index").ToLocalChecked(), Nan::New<Number>(index));
~~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3670:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3673:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/onig-scanner.cc:109:14: error: no matching member function for call to 'Set'
capture->Set(Nan::New<String>("start").ToLocalChecked(), Nan::New<Number>(captureStart));
~~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3670:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3673:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/onig-scanner.cc:110:14: error: no matching member function for call to 'Set'
capture->Set(Nan::New<String>("end").ToLocalChecked(), Nan::New<Number>(captureEnd));
~~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3670:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3673:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/onig-scanner.cc:111:14: error: no matching member function for call to 'Set'
capture->Set(Nan::New<String>("length").ToLocalChecked(), Nan::New<Number>(captur...
~~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3670:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3673:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/onig-scanner.cc:112:15: error: no matching member function for call to 'Set'
captures->Set(index, capture);
~~~~~~~~~~^~~
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3670:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/mark/Library/Caches/node-gyp/14.7.0/include/node/v8.h:3673:37: note: candidate
function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
10 errors generated.
make: *** [Release/obj.target/onig_scanner/src/onig-scanner.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/usr/local/Cellar/node/14.7.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/mark/projects/hledger-vscode2/node_modules/oniguruma
gyp ERR! node -v v14.7.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mark/.npm/_logs/2020-08-23T02_17_52_582Z-debug.log