-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
Trying to install slap using npm install -g slap@latest but it gives me an error message:
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated highlight.js@9.0.0: Version no longer supported. Upgrade to @latest
/Users/macorifice/.nvm/versions/node/v10.16.3/bin/slap -> /Users/macorifice/.nvm/versions/node/v10.16.3/lib/node_modules/slap/slap.js
> marker-index@4.0.0 install /Users/macorifice/.nvm/versions/node/v10.16.3/lib/node_modules/slap/node_modules/marker-index
> node-gyp rebuild
CXX(target) Release/obj.target/marker_index/src/native/iterator.o
CXX(target) Release/obj.target/marker_index/src/native/marker-index-wrapper.o
../src/native/marker-index-wrapper.cc:112:43: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
row = static_cast<unsigned>(js_row->Int32Value());
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../src/native/marker-index-wrapper.cc:118:49: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
column = static_cast<unsigned>(js_column->Int32Value());
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../src/native/marker-index-wrapper.cc:128:92: error: too few arguments to function call, expected 4, have 3
Local<Value> result = Nan::New(is_finite_function)->CallAsFunction(Nan::Null(), 1, argv);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8.h:3622:3: note: 'CallAsFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Value> CallAsFunction(Local<Context> context,
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8config.h:416:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/native/marker-index-wrapper.cc:171:58: warning: 'Uint32Value' is deprecated [-Wdeprecated-declarations]
return Nan::Just<MarkerId>(static_cast<MarkerId>(id->Uint32Value()));
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8.h:2477:3: note: 'Uint32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../src/native/marker-index-wrapper.cc:331:46: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
marker_index{static_cast<unsigned>(seed->Int32Value())} {}
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/Users/macorifice/Library/Caches/node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
4 warnings and 1 error generated.
make: *** [Release/obj.target/marker_index/src/native/marker-index-wrapper.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/macorifice/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 20.2.0
gyp ERR! command "/Users/macorifice/.nvm/versions/node/v10.16.3/bin/node" "/Users/macorifice/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/macorifice/.nvm/versions/node/v10.16.3/lib/node_modules/slap/node_modules/marker-index
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"10.16.3","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: got@5.7.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! marker-index@4.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the marker-index@4.0.0 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/macorifice/.npm/_logs/2021-03-08T16_48_51_069Z-debug.logvshvedov, jacksmith15, Explosion-Scratch, OleksandrKucherenko, puneetxp and 1 more
Metadata
Metadata
Assignees
Labels
No labels