Skip to content

Instantly share code, notes, and snippets.

@mteam88
Last active September 3, 2021 12:33
Show Gist options
  • Save mteam88/f7569741c16b76ea14ed1be5a1b96e86 to your computer and use it in GitHub Desktop.
Save mteam88/f7569741c16b76ea14ed1be5a1b96e86 to your computer and use it in GitHub Desktop.
Errorcoderpggame
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:0:
../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: warning: 'v8::Local<v8::Value> v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:3557:51note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /home/runner/.cache/node-gyp/12.22.1/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'
assert(persistent().IsNearDeath());
^
In file included from ../node_modules/nan/nan.h:2657:0,
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:34: warning: 'void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
persistent().MarkIndependent();
^
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:570:22:note: declared here
V8_INLINE void MarkIndependent());
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/6/cassert:44:0,
from /home/runner/.cache/node-gyp/12.22.1/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'
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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate expects 1 argument, 0 provided
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
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]
::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:165:78: error: no matching function for call to 'v8::Value::ToString()'
f8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate expects 1 argument, 0 provided
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
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]
::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc:176:78: error: no matching function for call to 'v8::Value::ToString()'
f8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
^
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate expects 1 argument, 0 provided
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate expects 1 argument, 0 provided
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2664:59note: candidate: v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2664:59note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2680:18note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
Local<Boolean> ToBoolean(Isolate* isolate) const;
^~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2680:18note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2705:40note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2668:44note: candidate expects 1 argument, 0 provided
In file included from /home/runner/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14:0,
from /home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/runner/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:2684:31note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/runner/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/unix/pty.cc: In function 'void pty_after_waitpid(uv_async_t*)':
../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]
allback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
^
In file included from ../src/unix/pty.cc:20:0:
../node_modules/nan/nan.h:1596: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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: 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/runner/.cache/node-gyp/12.22.1/include/node/node.h:67:0,
from ../node_modules/nan/nan.h:51,
from ../src/unix/pty.cc:20:
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/runner/.cache/node-gyp/12.22.1/include/node/v8.h:6126:46note: candidate expects 1 argument, 0 provided
pty.target.mk:111: recipe for target 'Release/obj.target/pty/src/unix/pty.o' failed
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
make: Leaving directory '/home/runner/game/node_modules/ndb-node-pty-prebuilt/build'
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:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.11.0-1017-gcp
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/runner/game/node_modules/ndb-node-pty-prebuilt
gyp ERR! node -v v12.22.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
> puppeteer-core@1.12.2 install /home/runner/game/node_modules/puppeteer-core
> node install.js
> yorkie@2.0.0 install /home/runner/game/node_modules/yorkie
> node bin/install.js
setting up Git hooks
done
> node-sass@4.12.0 install /home/runner/game/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.12.0/linux-x64-72_binding.node
Download complete..] - :
Binary saved to /home/runner/game/node_modules/node-sass/vendor/linux-x64-72/binding.node
Caching binary to /home/runner/.npm/node-sass/4.12.0/linux-x64-72_binding.node
> core-js@3.1.3 postinstall /home/runner/game/node_modules/@babel/register/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> core-js@2.6.9 postinstall /home/runner/game/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> core-js-pure@3.1.3 postinstall /home/runner/game/node_modules/core-js-pure
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> node-sass@4.12.0 postinstall /home/runner/game/node_modules/node-sass
> node scripts/build.js
Binary found at /home/runner/game/node_modules/node-sass/vendor/linux-x64-72/binding.node
Testing binary
Binary is fine
> nodemon@1.19.1 postinstall /home/runner/game/node_modules/nodemon
> node bin/postinstall || exit 0
Love nodemon? You can now support the project via the open collective:
> https://opencollective.com/nodemon/donate
> delaford@0.1.0 postinstall /home/runner/game
> npm run build-server && npm run build
> delaford@0.1.0 build-server /home/runner/game
> npm run clean-server && npm run transpile-server
> delaford@0.1.0 clean-server /home/runner/game
> npx rimraf build && mkdir build
> delaford@0.1.0 transpile-server /home/runner/game
> babel --route --config-file ./server/.babelrc ./server --out-dir ./build --copy-files --source-maps
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
Successfully compiled 43 files with Babel.
> delaford@0.1.0 build /home/runner/game
> vue-cli-service build --modern
⠼ Building legacy bundle for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠸ Building legacy bundle for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠇ Building legacy bundle for production...Killed
⠸ Building legacy bundle for production...
WARNING Compiled with 6 warnings 12:14:16 PM
Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'use strict' is unnecessary inside of modules (strict) at build/config.js:1:1:
> 1 | "use strict";
| ^
2 |
3 | var config = {
4 | /**
error: Strings must use singlequote (quotes) at build/config.js:1:1:
> 1 | "use strict";
| ^
2 |
3 | var config = {
4 | /**
error: Unexpected var, use let or const instead (no-var) at build/config.js:3:1:
1 | "use strict";
2 |
> 3 | var config = {
| ^
4 | /**
5 | * Game configuration
6 | */
error: Missing trailing comma (comma-dangle) at build/config.js:10:15:
8 | version: '0.1.0',
9 | socket: {
> 10 | port: 9000
| ^
11 | },
12 | map: {
13 | color: {
error: Missing trailing comma (comma-dangle) at build/config.js:17:24:
15 | npc: '#f9f920',
16 | player: '#ffffff',
> 17 | action: '#1ffe8c'
| ^
18 | },
19 | tileset: {
20 | // How big is the tileset?
error: Missing trailing comma (comma-dangle) at build/config.js:26:19:
24 | // How big is each tile?
25 | width: 32,
> 26 | height: 32
| ^
27 | },
28 | // eslint-disable-next-line
29 | blocked: [10, 31, 185, 185, 186, 187, 193, 194, 195, 196, 202, 203, 204, 205, 211, 212, 213, 214, 215] // TODO
error: Missing trailing comma (comma-dangle) at build/config.js:39:19:
37 | // How big is each tile?
38 | width: 32,
> 39 | height: 32
| ^
40 | },
41 | // eslint-disable-next-line
42 | blocked: [280, 281, 204, 205, 206, 111, 124, 114, 120, 119, 156, 157, 158],
error: Missing trailing comma (comma-dangle) at build/config.js:50:12:
48 | // How big will our view be?
49 | x: 15,
> 50 | y: 10
| ^
51 | },
52 | size: {
53 | // How big will our map be?
error: Missing trailing comma (comma-dangle) at build/config.js:55:13:
53 | // How big will our map be?
54 | x: 200,
> 55 | y: 200
| ^
56 | },
57 | player: {
58 | x: 7,
error: Missing trailing comma (comma-dangle) at build/config.js:59:11:
57 | player: {
58 | x: 7,
> 59 | y: 5
| ^
60 | }
61 | },
62 | player: {
error: Missing trailing comma (comma-dangle) at build/config.js:60:6:
58 | x: 7,
59 | y: 5
> 60 | }
| ^
61 | },
62 | player: {
63 | slots: {
error: Missing trailing comma (comma-dangle) at build/config.js:66:16:
64 | inventory: 24,
65 | bank: 200,
> 66 | trade: 16
| ^
67 | }
68 | }
69 | };
error: Missing trailing comma (comma-dangle) at build/config.js:67:6:
65 | bank: 200,
66 | trade: 16
> 67 | }
| ^
68 | }
69 | };
70 | module.exports = config;
error: Missing trailing comma (comma-dangle) at build/config.js:68:4:
66 | trade: 16
67 | }
> 68 | }
| ^
69 | };
70 | module.exports = config;
71 | //# sourceMappingURL=config.js.map
error: Expected exception block, space or tab after '//' in comment (spaced-comment) at build/config.js:71:1:
69 | };
70 | module.exports = config;
> 71 | //# sourceMappingURL=config.js.map
| ^
error: Newline required at end of file but not found (eol-last) at build/config.js:71:35:
69 | };
70 | module.exports = config;
> 71 | //# sourceMappingURL=config.js.map
| ^
16 errors found.
16 errors potentially fixable with the `--fix` option.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/Delaford.vue:143:9:
141 | }
142 | } else {
> 143 | console.log(data);
| ^
144 | }
145 | };
146 |
1 error found.
Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/core/player/events/player.js:60:7:
58 | 'player:equippedAnItem': (data, context) => {
59 | if (data.data.uuid === context.game.player.uuid) {
> 60 | console.log(data.data.inventory);
| ^
61 |
62 | context.game.player.inventory = data.data.inventory.slots;
63 | context.game.player.wear = data.data.wear;
1 error found.
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
media/main_menu.1dc6d83c.mp3 (4.83 MiB)
js/chunk-vendors-legacy.8fa59b05.js (300 KiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (391 KiB)
js/chunk-vendors-legacy.8fa59b05.js
css/app.c0de1c79.css
js/app-legacy.9ab3c3c3.js
warning
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
File Size Gzipped
dist/js/chunk-vendors-legacy.8fa59b05. 300.38 KiB 98.02 KiB
js
dist/js/app-legacy.9ab3c3c3.js 69.25 KiB 23.50 KiB
dist/css/app.c0de1c79.css 21.56 KiB 4.83 KiB
Images and other types of assets omitted.
⠸ Building modern bundle for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠧ Building modern bundle for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
⠏ Building modern bundle for production... ERROR Error: Command failed: /home/runner/game/node_modules/@vue/cli-service/bin/vue-cli-service.js build --modern
Error: Command failed: /home/runner/game/node_modules/@vue/cli-service/bin/vue-cli-service.js build --modern
at makeError (/home/runner/game/node_modules/execa/index.js:174:9)
at /home/runner/game/node_modules/execa/index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /home/runner/game/node_modules/@vue/cli-service/lib/commands/build/index.js:63:9
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! delaford@0.1.0 build: `vue-cli-service build --modern`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the delaford@0.1.0 build 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! /home/runner/.npm/_logs/2021-09-03T12_15_23_121Z-debug.log
*****Log of above file*****
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using npm@6.14.12
3 info using node@v12.22.1
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle delaford@0.1.0~prebuild: delaford@0.1.0
6 info lifecycle delaford@0.1.0~build: delaford@0.1.0
7 verbose lifecycle delaford@0.1.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle delaford@0.1.0~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/runner/game/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/runner/game/node_modules/.bin:/nix/store/mzmsz9wm8hlijvxzh38lasd6vvz7ik5y-pid1-0.0.0-ac0aaa2/bin:/nix/store/fgbzvd4c6nly9m4dpczrxybdpkm8mnk3-bash-interactive-4.4-p23/bin:/nix/store/0vkw1m51q34dr64z5i87dy99an4hfmyg-coreutils-8.32/bin:/nix/store/yzr5fybypw977fxnqj3gsp3gznh1lbm2-fluxbox/bin:/nix/store/7bf2l1b07vj9m9p1fn4g64h5sba2i9ls-pulseaudio-14.2/bin:/nix/store/8cpkwghsa1crf84x7155pnsx5xjqyzsz-rfbproxy-0.0.0-b81eb2f/bin:/nix/store/fy1vhp96i11ng6mwbr0l5apj68c64lgr-tigervnc-1.11.0/bin:/nix/store/42bhrhc5grphw0mna5jml7m8v1dz6hsn-upm-0.0.0-7e9c17e/bin:/nix/store/ng35kcfzm03fdmp97nc2dxi63jv41sca-vscode-cpptools-dap-1.3.1/bin:/nix/store/3hny06xvqvc4irdnknk732a2km9b93rq-xwininfo-1.1.4/bin:/home/runner/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle delaford@0.1.0~build: CWD: /home/runner/game
10 silly lifecycle delaford@0.1.0~build: Args: [ '-c', 'vue-cli-service build --modern' ]
11 silly lifecycle delaford@0.1.0~build: Returned: code: 1 signal: null
12 info lifecycle delaford@0.1.0~build: Failed to exec build script
13 verbose stack Error: delaford@0.1.0 build: `vue-cli-service build --modern`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1022:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid delaford@0.1.0
15 verbose cwd /home/runner/game
16 verbose Linux 5.11.0-1017-gcp
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
18 verbose node v12.22.1
19 verbose npm v6.14.12
20 error code ELIFECYCLE
21 error errno 1
22 error delaford@0.1.0 build: `vue-cli-service build --modern`
22 error Exit status 1
23 error Failed at the delaford@0.1.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment