Linuxで最新のノード12.3.1を使用すると、 npm i --verbose node-pty@latest
は次のようになります。
npm info it worked if it ends with ok
npm verb cli [
npm verb cli '/home/fcz/reason/.nodeenv/bin/node',
npm verb cli '/home/fcz/reason/.nodeenv/bin/npm',
npm verb cli 'i',
npm verb cli '--verbose',
npm verb cli 'node-pty<strong i="14">@latest</strong>'
npm verb cli ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session 521caf357ec4f3ec
npm http fetch GET 200 https://registry.npmjs.org/node-pty 14ms (from cache)
npm timing stage:loadCurrentTree Completed in 52ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/nan 6ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 16ms
npm timing stage:loadIdealTree Completed in 19ms
npm timing stage:generateActionsToTake Completed in 4ms
npm verb correctMkdir /home/fcz/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /home/fcz/.npm/_locks/staging-6326014172356a26.lock for /tmp/nodetest3/node_modules/.staging
npm timing action:extract Completed in 112ms
npm timing action:finalize Completed in 5ms
npm timing action:refresh-package-json Completed in 15ms
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm timing action:preinstall Completed in 2ms
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm timing action:build Completed in 3ms
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
> [email protected] install /tmp/nodetest3/node_modules/node-pty
> node scripts/install.js
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/home/fcz/reason/.nodeenv/bin/node',
gyp verb cli '/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import sys; print "2.7.16
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 12.3.1
gyp verb command install [ '12.3.1' ]
gyp verb install input version string "12.3.1"
gyp verb install installing version: 12.3.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.3.1
gyp verb build dir attempting to create "build" dir: /tmp/nodetest3/node_modules/node-pty/build
gyp verb build dir "build" dir needed to be created? /tmp/nodetest3/node_modules/node-pty/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /tmp/nodetest3/node_modules/node-pty/build/config.gypi
gyp verb config.gypi checking for gypi file: /tmp/nodetest3/node_modules/node-pty/config.gypi
gyp verb common.gypi checking for gypi file: /tmp/nodetest3/node_modules/node-pty/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [
gyp info spawn args '/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/tmp/nodetest3/node_modules/node-pty/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/fcz/.node-gyp/12.3.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/fcz/.node-gyp/12.3.1',
gyp info spawn args '-Dnode_gyp_dir=/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/fcz/.node-gyp/12.3.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/tmp/nodetest3/node_modules/node-pty',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /home/fcz/.node-gyp/12.3.1
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/tmp/nodetest3/node_modules/node-pty/build'
g++ '-DNODE_GYP_MODULE_NAME=pty' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/fcz/.node-gyp/12.3.1/include/node -I/home/fcz/.node-gyp/12.3.1/src -I/home/fcz/.node-gyp/12.3.1/deps/openssl/config -I/home/fcz/.node-gyp/12.3.1/deps/openssl/openssl/include -I/home/fcz/.node-gyp/12.3.1/deps/uv/include -I/home/fcz/.node-gyp/12.3.1/deps/zlib -I/home/fcz/.node-gyp/12.3.1/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/pty/src/unix/pty.o.d.raw -c -o Release/obj.target/pty/src/unix/pty.o ../src/unix/pty.cc
In file included from ../../nan/nan_converters.h:67,
from ../../nan/nan.h:222,
from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
val->To ## TYPE(isolate->GetCurrentContext()) \
^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
X(Boolean)
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2524:63: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67,
from ../../nan/nan.h:222,
from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
return val->NAME ## Value(isolate->GetCurrentContext()); \
^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
X(bool, Boolean)
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2562:51: note: declared here
V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:223,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:356:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
return v8::StringObject::New(value).As<v8::StringObject>();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5380:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
static Local<Value> New(Isolate* isolate, Local<String> value);
^~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5380:23: note: candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:223,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h:356:58: error: expected primary-expression before ‘>’ token
return v8::StringObject::New(value).As<v8::StringObject>();
^
../../nan/nan_implementation_12_inl.h:356:60: error: expected primary-expression before ‘)’ token
return v8::StringObject::New(value).As<v8::StringObject>();
^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2232:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
In file included from /usr/include/c++/8.3.0/cassert:44,
from /home/fcz/.node-gyp/12.3.1/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:55,
from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
assert(persistent().IsNearDeath());
^~~~~~~~~~~
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../../nan/nan_object_wrap.h:127:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
assert(wrap->handle_.IsNearDeath());
^~~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:154:48: error: no matching function for call to ‘v8::Value::ToString()’
v8::String::Utf8Value file(info[0]->ToString());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:165:66: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:165:78: error: no matching function for call to ‘v8::Value::ToString()’
v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:176:66: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:176:78: error: no matching function for call to ‘v8::Value::ToString()’
v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:181:48: error: no matching function for call to ‘v8::Value::ToString()’
v8::String::Utf8Value cwd_(info[3]->ToString());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:186:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
winp.ws_col = info[4]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:187:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
winp.ws_row = info[5]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:195:26: error: no matching function for call to ‘v8::Value::ToBoolean()’
if (info[8]->ToBoolean()->Value()) {
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2524:63: note: candidate: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2524:63: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2540:18: note: candidate: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
Local<Boolean> ToBoolean(Isolate* isolate) const;
^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2540:18: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:230:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
int uid = info[6]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:231:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
int gid = info[7]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:315:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
winp.ws_col = info[0]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:316:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
winp.ws_row = info[1]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:360:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
int fd = info[0]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:363:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
winp.ws_col = info[1]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:364:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
winp.ws_row = info[2]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:387:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
int fd = info[0]->IntegerValue();
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:389:48: error: no matching function for call to ‘v8::Value::ToString()’
v8::String::Utf8Value tty_(info[1]->ToString());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
../src/unix/pty.cc:488:43: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistent<v8::Function>’ with no trivial copy-assignment [-Wclass-memaccess]
memset(&baton->cb, -1, sizeof(baton->cb));
^
In file included from ../../nan/nan.h:338,
from ../src/unix/pty.cc:20:
../../nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Function>’ declared here
template<typename T, typename M> class Persistent :
^~~~~~~~~~
../src/unix/pty.cc:489:69: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1652:3: note: declared here
Call(v8::Local<v8::Object> target
^~~~
../src/unix/pty.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/unix/pty.cc:705:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::New<v8::FunctionTemplate>(PtyFork)->GetFunction());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:708:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::New<v8::FunctionTemplate>(PtyOpen)->GetFunction());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:711:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::New<v8::FunctionTemplate>(PtyResize)->GetFunction());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:714:68: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::New<v8::FunctionTemplate>(PtyGetProc)->GetFunction());
^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided
In file included from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
../src/unix/pty.cc: At global scope:
/home/fcz/.node-gyp/12.3.1/include/node/node.h:556:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/fcz/.node-gyp/12.3.1/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/unix/pty.cc:717:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(pty, init)
^~~~~~~~~~~
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/fcz/.node-gyp/12.3.1/include/node/node_object_wrap.h:84:78: required from here
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:9817:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:66:61: required from here
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:9817:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [pty.target.mk:107: Release/obj.target/pty/src/unix/pty.o] Error 1
make: Leaving directory '/tmp/nodetest3/node_modules/node-pty/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.1.5-arch1-2-ARCH
gyp ERR! command "/home/fcz/reason/.nodeenv/bin/node" "/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/nodetest3/node_modules/node-pty
gyp ERR! node -v v12.3.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm verb lifecycle [email protected]~install: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~install: PATH: /home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/tmp/nodetest3/node_modules/node-pty/node_modules/.bin:/tmp/nodetest3/node_modules/.bin:/home/fcz/reason/.nodeenv/lib/node_modules/.bin:/home/fcz/reason/.nodeenv/bin:/home/fcz/.nvm/versions/node/v4.9.1/bin:/home/fcz/.yarn/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
npm verb lifecycle [email protected]~install: CWD: /tmp/nodetest3/node_modules/node-pty
npm timing audit submit Completed in 1277ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 1277ms
npm timing audit body Completed in 1ms
npm info lifecycle [email protected]~install: Failed to exec install script
npm timing action:install Completed in 1143ms
npm verb unlock done using /home/fcz/.npm/_locks/staging-6326014172356a26.lock for /tmp/nodetest3/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 34ms
npm timing stage:runTopLevelLifecycles Completed in 1429ms
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm verb stack Error: [email protected] install: `node scripts/install.js`
npm verb stack Exit status 1
npm verb stack at EventEmitter.<anonymous> (/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
npm verb stack at EventEmitter.emit (events.js:200:13)
npm verb stack at ChildProcess.<anonymous> (/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack at ChildProcess.emit (events.js:200:13)
npm verb stack at maybeClose (internal/child_process.js:1021:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
npm verb pkgid [email protected]
npm verb cwd /tmp/nodetest3
npm verb Linux 5.1.5-arch1-2-ARCH
npm verb argv "/home/fcz/reason/.nodeenv/bin/node" "/home/fcz/reason/.nodeenv/bin/npm" "i" "--verbose" "node-pty@latest"
npm verb node v12.3.1
npm verb npm v6.9.0
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 verb exit [ 1, true ]
npm timing npm Completed in 1681ms
npm ERR! A complete log of this run can be found in:
npm ERR! /home/fcz/.npm/_logs/2019-06-01T20_35_35_215Z-debug.log
0.9.0はまだリリースされていません、 npm i node-pty@beta
を試してください
@ Tyriar 、 node-pty @ betaをインストールしようとしましたが、同じエラーが発生します
Command:
npm i node-pty<strong i="8">@beta</strong> --save-dev
c:\users\...\.node-gyp\12.6.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\node-boilerp
late\scrypt_kdf-verify_sync.cc)
c:\xgitds\coolapplication\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling s
ource file ..\src\node-boilerplate\scrypt_hash_sync.cc)c:\xgitds\coolapplication\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::
Value::ToBoolean': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc)c:\xgitds\coolapplication\node_module
s\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_k
df-verify_sync.cc) [C:\XGitDS\coolapplication\node_modules\scrypt\build\scrypt.vcxproj]
c:\xgitds\coolapplication\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 argumen
ts (compiling source file ..\src\node-boilerplate\scrypt_kdf_sync.cc) [C:\XGitDS\coolapplication\node_modules\scrypt\build\scrypt.vcxproj]
これは、最新のベータ版https://github.com/microsoft/node-pty/issues/329、@ deepak1556で修正される予定でしたが、そのエラーについて何か考えはありますか?
そのバージョンでは問題は発生しません。 @devedseは、プロジェクトでnanのバージョンが特定のバージョンにロックされている可能性がありますか? ノード12の場合、nanは2.14.0
以上である必要があります。
pakage-lock.jsonファイルを削除した後、インストールは成功しました。 ありがとう :)
pakage-lock.jsonファイルを削除した後、インストールは成功しました。 ありがとう :)
プロジェクト全体を削除したところ、推奨事項のおかげで解決しました。
最も参考になるコメント
pakage-lock.jsonファイルを削除した後、インストールは成功しました。 ありがとう :)