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

Unable to build with marky-markdown - 12.0.3 #453

Open
sunita1112 opened this issue Oct 27, 2021 · 0 comments
Open

Unable to build with marky-markdown - 12.0.3 #453

sunita1112 opened this issue Oct 27, 2021 · 0 comments

Comments

@sunita1112
Copy link

Hi Team,

Our project has dependency on "@npmcorp/marky-markdown": "^12.0.3",

Its failing to build with following error. Any help to resolve is appreciated.

Node version - v14.18.1
npm version - 8.1.1

pm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm ERR! code 1
npm ERR! path /Users/sunitapatro/sde/MOHAMISPACE/markdown-render-macro-confluence-cloud/node_modules/oniguruma
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regcomp.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regenc.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regerror.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regexec.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regext.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/reggnu.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regparse.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regposerr.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regposix.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regsyntax.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regtrav.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/regversion.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/st.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/ascii.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/big5.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/cp1251.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_jp.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_kr.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_tw.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/gb18030.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_1.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_2.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_3.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_4.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_5.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_6.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_7.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_8.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_9.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_10.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_11.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_13.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_14.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_15.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_16.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/koi8.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/koi8_r.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/mktable.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/sjis.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/unicode.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf16_be.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf16_le.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf32_be.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf32_le.o
npm ERR! CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf8.o
npm ERR! LIBTOOL-STATIC Release/oniguruma.a
npm ERR! CXX(target) Release/obj.target/onig_scanner/src/onig-result.o
npm ERR! CXX(target) Release/obj.target/onig_scanner/src/onig-reg-exp.o
npm ERR! CXX(target) Release/obj.target/onig_scanner/src/onig-scanner.o
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info find Python using Python version 3.9.1 found at "/usr/local/opt/[email protected]/bin/python3.9"
npm ERR! gyp info spawn /usr/local/opt/[email protected]/bin/python3.9
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/sunitapatro/sde/MOHAMISPACE/markdown-render-macro-confluence-cloud/node_modules/oniguruma/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/sunitapatro/Library/Caches/node-gyp/14.18.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/sunitapatro/Library/Caches/node-gyp/14.18.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/sunitapatro/sde/MOHAMISPACE/markdown-render-macro-confluence-cloud/node_modules/oniguruma',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/onig-scanner.cc:13:82: error: too few arguments to function call, single argument 'context' was not specified
npm ERR! target->Set(Nan::New("OnigScanner").ToLocalChecked(), tpl->GetFunction());
npm ERR! ~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:6482:46: note: 'GetFunction' declared here
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:42:85: error: too few arguments to function call, single argument 'context' was not specified
npm ERR! OnigString* onigString = node::ObjectWrap::Unwrap(info[0]->ToObject());
npm ERR! ~~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:2822:44: note: 'ToObject' declared here
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:61:42: error: no matching member function for call to 'Get'
npm ERR! String::Utf8Value utf8Value(sources->Get(i));
npm ERR! ~~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context,
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:91:13: error: no matching member function for call to 'Set'
npm ERR! result->Set(Nan::New("index").ToLocalChecked(), Nan::New(bestResult->Index()));
npm ERR! ~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:92:13: error: no matching member function for call to 'Set'
npm ERR! result->Set(Nan::New("captureIndices").ToLocalChecked(), CaptureIndicesForMatch(bestResult.get(), source));
npm ERR! ~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:108:14: error: no matching member function for call to 'Set'
npm ERR! capture->Set(Nan::New("index").ToLocalChecked(), Nan::New(index));
npm ERR! ~~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:109:14: error: no matching member function for call to 'Set'
npm ERR! capture->Set(Nan::New("start").ToLocalChecked(), Nan::New(captureStart));
npm ERR! ~~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:110:14: error: no matching member function for call to 'Set'
npm ERR! capture->Set(Nan::New("end").ToLocalChecked(), Nan::New(captureEnd));
npm ERR! ~~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:111:14: error: no matching member function for call to 'Set'
npm ERR! capture->Set(Nan::New("length").ToLocalChecked(), Nan::New(captureEnd - captureStart));
npm ERR! ~~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! ^
npm ERR! ../src/onig-scanner.cc:112:15: error: no matching member function for call to 'Set'
npm ERR! captures->Set(index, capture);
npm ERR! ~~~~~~~~~~^~~
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! ^
npm ERR! /Users/sunitapatro/Library/Caches/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! ^
npm ERR! 10 errors generated.
npm ERR! make: *** [Release/obj.target/onig_scanner/src/onig-scanner.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:400:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
npm ERR! gyp ERR! System Darwin 20.6.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/sunitapatro/sde/MOHAMISPACE/markdown-render-macro-confluence-cloud/node_modules/oniguruma
npm ERR! gyp ERR! node -v v14.18.1
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sunitapatro/.npm/_logs/2021-10-27T11_56_43_780Z-debug.log

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

1 participant