You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an error when I used command "npm install -g rekit-studio" with npm version 7.4.0 and node version v15.6.0, which meets the installation prerequisite.
It would be great if someone could help me solve this installation problem.
These are the error pieces that I think might be helpful:
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from ../src/unix/pty.cc:20:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(Boolean)
^~~~~~~~~~
../../nan/nan_converters_43_inl.h:18:23: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext()) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/songzuquan/Library/Caches/node-gyp/15.6.0/include/node/v8.h:2894:37: note: passing argument to parameter 'isolate' here
Local<Boolean> ToBoolean(Isolate* isolate) const;
^
In file included from ../src/unix/pty.cc:20:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(bool, Boolean)
../src/unix/pty.cc:360:34: error: too few arguments to function call, single argument 'context' was not specified
int fd = info[0]->IntegerValue();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/songzuquan/Library/Caches/node-gyp/14.14.0/include/node/v8.h:2863:3: note: 'IntegerValue' declared here
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^
/Users/songzuquan/Library/Caches/node-gyp/14.14.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/unix/pty.cc:363:39: error: too few arguments to function call, single argument 'context' was not specified
winp.ws_col = info[1]->IntegerValue();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/songzuquan/Library/Caches/node-gyp/14.14.0/include/node/v8.h:2863:3: note: 'IntegerValue' declared here
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^
/Users/songzuquan/Library/Caches/node-gyp/14.14.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/unix/pty.cc:364:39: error: too few arguments to function call, single argument 'context' was not specified
winp.ws_row = info[2]->IntegerValue();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/songzuquan/Library/Caches/node-gyp/14.14.0/include/node/v8.h:2863:3: note: 'IntegerValue' declared here
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^
/Users/songzuquan/Library/Caches/node-gyp/14.14.0/include/node/v8config.h:431:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Release/obj.target/pty/src/unix/pty.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:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/usr/local/Cellar/node/14.14.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/rekit-studio/node_modules/node-pty
gyp ERR! node -v v14.14.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node scripts/install.js`
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/songzuquan/.npm/_logs/2021-01-22T17_00_31_681Z-debug.log
The text was updated successfully, but these errors were encountered:
I had an error when I used command "npm install -g rekit-studio" with npm version 7.4.0 and node version v15.6.0, which meets the installation prerequisite.
It would be great if someone could help me solve this installation problem.
These are the error pieces that I think might be helpful:
The text was updated successfully, but these errors were encountered: