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
Trying to add the @devpodio/vue package results in a node-gyp error. This might be due to version compatibility issue, but I couldn't really infer/understand much from the error log to at google it first. I'd really appreciate any insights on how I can figure out the reason and fix the error.
(base) ➜ theia git:(main) ✗ yarn add @devpodio/vue
yarn add v1.22.17
[1/4] Resolving packages...
warning @devpodio/vue > @devpodio/languages > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @devpodio/vue > @devpodio/monaco > @devpodio/filesystem > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @devpodio/vue > @devpodio/vue-language-server > [email protected]: This package has been renamed to @vscode/emmet-helper, please update to the new name
warning @devpodio/vue > @devpodio/monaco > @devpodio/filesystem > [email protected]: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
warning @devpodio/vue > @devpodio/monaco > @devpodio/filesystem > trash > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @devpodio/vue > @devpodio/vue-language-server > stylus > css-parse > css > [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning @devpodio/vue > @devpodio/vue-language-server > stylus > css-parse > css > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @devpodio/vue > @devpodio/vue-language-server > stylus > css-parse > css > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @devpodio/vue > @devpodio/vue-language-server > @starptech/prettyhtml > unified > @types/vfile > @types/[email protected]: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
warning @devpodio/vue > @devpodio/vue-language-server > stylus > css-parse > css > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @devpodio/vue > @devpodio/vue-language-server > stylus > css-parse > css > source-map-resolve > [email protected]: See https://github.com/lydell/source-map-url#deprecated
[2/4] Fetching packages...
warning Pattern ["@theia/navigator@next"] is trying to unpack in the same destination "/home/<user>/.cache/yarn/v6/npm-@theia-navigator-1.25.0-next.17-a54c9e345dd8b22146b0803aaf91384e4a042d06-integrity/node_modules/@theia/navigator" as pattern ["@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@theia/preferences@next"] is trying to unpack in the same destination "/home/<user>/.cache/yarn/v6/npm-@theia-preferences-1.25.0-next.17-279c896cb24fc849e26b95a4cea9bde6b91bed8e-integrity/node_modules/@theia/preferences" as pattern ["@theia/[email protected]+e6b57ba4eda"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@theia/search-in-workspace@next"] is trying to unpack in the same destination "/home/<user>/.cache/yarn/v6/npm-@theia-search-in-workspace-1.25.0-next.17-f529185458dcb680c64b0db2f1eed0cb7aa6622c-integrity/node_modules/@theia/search-in-workspace" as pattern ["@theia/[email protected]+e6b57ba4eda"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@theia/terminal@next"] is trying to unpack in the same destination "/home/<user>/.cache/yarn/v6/npm-@theia-terminal-1.25.0-next.17-08fd9785adbce10edee3f752a235ae23621afe5c-integrity/node_modules/@theia/terminal" as pattern ["@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda","@theia/[email protected]+e6b57ba4eda"]. This could result in non-deterministic behavior, skipping.
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
[3/4] Linking dependencies...
warning "@theia/file-search > @theia/process > [email protected]" has unmet peer dependency "node-gyp@^8.3.0".
warning "@theia/git > @theia/scm > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@theia/git > @theia/scm > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@theia/messages > [email protected]" has unmet peer dependency "react@>=16.3.3".
warning "@theia/messages > [email protected]" has unmet peer dependency "react-dom@>=16.3.3".
warning "@theia/preview > [email protected]" has unmet peer dependency "markdown-it@^8.4.1".
[4/4] Building fresh packages...
[13/15] ⠂ @theia/node-pty
[10/15] ⠂ puppeteer
[3/15] ⠂ nsfw
[7/15] ⠂ oniguruma
error /home/<user>/Desktop/dev/theia/node_modules/@theia/node-pty: Command failed.
Exit code: 1
Command: node scripts/install.js
Arguments:
Directory: /home/<user>/Desktop/dev/theia/node_modules/@theia/node-pty
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.9.7 found at "/home/<user>/anaconda3/bin/python3"
gyp info spawn /home/<user>/anaconda3/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/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 '/home/<user>/Desktop/dev/theia/node_modules/@theia/node-pty/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/<user>/.cache/node-gyp/17.9.0/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/<user>/.cache/node-gyp/17.9.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/<user>/.cache/node-gyp/17.9.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/<user>/Desktop/dev/theia/node_modules/@theia/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 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/<user>/Desktop/dev/theia/node_modules/@theia/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:202,
from ../src/unix/pty.cc:20:
../node_modules/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>)’:
../node_modules/nan/nan_converters_43_inl.h:18:49: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
18 | val->To ## TYPE(isolate->GetCurrentContext()) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
22 | X(Boolean)
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:398:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
398 | Local<Boolean> ToBoolean(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:202,
from ../src/unix/pty.cc:20:
../node_modules/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>)’:
../node_modules/nan/nan_converters_43_inl.h:37:55: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
37 | return val->NAME ## Value(isolate->GetCurrentContext()); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
40 | X(bool, Boolean)
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:408:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
408 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:203,
from ../src/unix/pty.cc:20:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../node_modules/nan/nan_implementation_12_inl.h:103:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
103 | return scope.Escape(v8::Function::New( isolate
| ^~~~~~~
| |
| v8::Isolate*
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:34,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-function.h:32:22: note: initializing argument 1 of ‘static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)’
32 | Local<Context> context, FunctionCallback callback,
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:203,
from ../src/unix/pty.cc:20:
../node_modules/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>)’:
../node_modules/nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
337 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:48,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive-object.h:81:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
81 | static Local<Value> New(Isolate* isolate, Local<String> value);
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive-object.h:81:23: note: candidate expects 2 arguments, 1 provided
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:203,
from ../src/unix/pty.cc:20:
../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
337 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
337 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:1034:53: error: no matching function for call to ‘v8::Value::ToString()’
1034 | v8::Local<v8::String> string = from->ToString();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
360 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate expects 1 argument, 0 provided
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h:1044:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’
1044 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
| ^~~~
| |
| char*
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:192:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
192 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
| ~~~~~~~~~^~~~~~~
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1818:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
1818 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:244:37: note: candidate expects 3 arguments, 2 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
247 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:247:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1824:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
1824 | New(persistentHandle)->Set(key, value);
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:244:37: note: candidate expects 3 arguments, 2 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
247 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:247:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1830:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
1830 | New(persistentHandle)->Set(index, value);
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:244:37: note: candidate expects 3 arguments, 2 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
247 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:247:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../node_modules/nan/nan.h:1836:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
1836 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
290 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
293 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
../node_modules/nan/nan.h:1842:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
1842 | return scope.Escape(New(persistentHandle)->Get(key));
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
290 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
293 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../node_modules/nan/nan.h:1847:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
1847 | return scope.Escape(New(persistentHandle)->Get(index));
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
290 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
293 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2167: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]
2167 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /usr/include/c++/9/cassert:44,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node_object_wrap.h:26,
from ../node_modules/nan/nan.h:53,
from ../src/unix/pty.cc:20:
../node_modules/nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../node_modules/nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
24 | assert(persistent().IsNearDeath());
| ^~~~~~~~~~~
In file included from ../node_modules/nan/nan.h:2657,
from ../src/unix/pty.cc:20:
../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../node_modules/nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
67 | persistent().MarkIndependent();
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/cassert:44,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node_object_wrap.h:26,
from ../node_modules/nan/nan.h:53,
from ../src/unix/pty.cc:20:
../node_modules/nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../node_modules/nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
124 | assert(wrap->handle_.IsNearDeath());
| ^~~~~~~~~~~
In file included from ../node_modules/nan/nan.h:2753,
from ../src/unix/pty.cc:20:
../node_modules/nan/nan_typedarray_contents.h: In constructor ‘Nan::TypedArrayContents<T>::TypedArrayContents(v8::Local<v8::Value>)’:
../node_modules/nan/nan_typedarray_contents.h:34:43: error: ‘class v8::ArrayBuffer’ has no member named ‘GetContents’
34 | data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
| ^~~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:185:48: error: no matching function for call to ‘v8::Value::ToString()’
185 | v8::String::Utf8Value file(info[0]->ToString());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
360 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:196:66: error: no matching function for call to ‘v8::Array::Get(Nan::imp::IntegerFactory<v8::Integer>::return_t)’
196 | v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
290 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
293 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided
../src/unix/pty.cc:207:66: error: no matching function for call to ‘v8::Array::Get(Nan::imp::IntegerFactory<v8::Integer>::return_t)’
207 | v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
290 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
293 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided
../src/unix/pty.cc:212:48: error: no matching function for call to ‘v8::Value::ToString()’
212 | v8::String::Utf8Value cwd_(info[3]->ToString());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
360 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:217:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
217 | winp.ws_col = info[4]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:218:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
218 | winp.ws_row = info[5]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:226:26: error: no matching function for call to ‘v8::Value::ToBoolean()’
226 | if (info[8]->ToBoolean()->Value()) {
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:398:18: note: candidate: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
398 | Local<Boolean> ToBoolean(Isolate* isolate) const;
| ^~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:398:18: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:261:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
261 | int uid = info[6]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:262:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
262 | int gid = info[7]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413: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:422:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
422 | winp.ws_col = info[0]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:423:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
423 | winp.ws_row = info[1]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413: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:467:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
467 | int fd = info[0]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:470:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
470 | winp.ws_col = info[1]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:471:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
471 | winp.ws_row = info[2]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413: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:494:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
494 | int fd = info[0]->IntegerValue();
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
413 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:413:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:496:48: error: no matching function for call to ‘v8::Value::ToString()’
496 | v8::String::Utf8Value tty_(info[1]->ToString());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-primitive.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-object.h:11,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-array-buffer.h:13,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:25,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
360 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-value.h:360:44: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
../src/unix/pty.cc:595: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]
595 | memset(&baton->cb, -1, sizeof(baton->cb));
| ^
In file included from ../node_modules/nan/nan.h:318,
from ../src/unix/pty.cc:20:
../node_modules/nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Function>’ declared here
12 | template<typename T, typename M> class Persistent :
| ^~~~~~~~~~
../src/unix/pty.cc:596:69: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
596 | Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
| ^
In file included from ../src/unix/pty.cc:20:
../node_modules/nan/nan.h:1596:3: note: declared here
1596 | Call(v8::Local<v8::Object> target
| ^~~~
../src/unix/pty.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/unix/pty.cc:812:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
812 | Nan::New<v8::FunctionTemplate>(PtyFork)->GetFunction());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-function.h:15,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:34,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
499 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:815:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
815 | Nan::New<v8::FunctionTemplate>(PtyOpen)->GetFunction());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-function.h:15,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:34,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
499 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:818:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
818 | Nan::New<v8::FunctionTemplate>(PtyResize)->GetFunction());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-function.h:15,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:34,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
499 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:821:68: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
821 | Nan::New<v8::FunctionTemplate>(PtyGetProc)->GetFunction());
| ^
In file included from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8-function.h:15,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/v8.h:34,
from /home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
499 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/<user>/.cache/node-gyp/17.9.0/include/node/v8-template.h:499:46: note: candidate expects 1 argument, 0 provided
In file included from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
../src/unix/pty.cc: At global scope:
/home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:848: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]
848 | (node::addon_register_func) (regfunc), \
| ^
/home/<user>/.cache/node-gyp/17.9.0/include/node/node.h:882:3: note: in expansion of macro ‘NODE_MODULE_X’
882 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/unix/pty.cc:824:1: note: in expansion of macro ‘NODE_MODULE’
824 | NODE_MODULE(pty, init)
| ^~~~~~~~~~~
make: *** [pty.target.mk:113: Release/obj.target/pty/src/unix/pty.o] Error 1
make: Leaving directory '/home/<user>/Desktop/dev/theia/node_modules/@theia/node-pty/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.13.0-39-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/<user>/Desktop/dev/theia/node_modules/@theia/node-pty
The text was updated successfully, but these errors were encountered:
emadzz
changed the title
Error install
Error install @devpodio/vue
Apr 20, 2022
emadzz
changed the title
Error install @devpodio/vue
Error installing @devpodio/vue
Apr 20, 2022
Description
Trying to add the
@devpodio/vue
package results in anode-gyp
error. This might be due to version compatibility issue, but I couldn't really infer/understand much from the error log to at google it first. I'd really appreciate any insights on how I can figure out the reason and fix the error.Reproduction Steps
yarn add @devpodio/vue
OS and Theia version:
Diagnostics:
The text was updated successfully, but these errors were encountered: