Title: Failed to build docker image · Issue #1380 · coder/code-server · GitHub
Open Graph Title: Failed to build docker image · Issue #1380 · coder/code-server
X Title: Failed to build docker image · Issue #1380 · coder/code-server
Description: code-server version: 2.1698 OS Version: macOS 10.15.3 Description I tried to build my own docker image by running docker image build -t my-code-server:0.1 . When it runs RUN yarn \ && DRONE_TAG="2.1698" MINIFY=true BINARY=true GITHUB_TOK...
Open Graph Description: code-server version: 2.1698 OS Version: macOS 10.15.3 Description I tried to build my own docker image by running docker image build -t my-code-server:0.1 . When it runs RUN yarn \ && DRONE_TAG="2....
X Description: code-server version: 2.1698 OS Version: macOS 10.15.3 Description I tried to build my own docker image by running docker image build -t my-code-server:0.1 . When it runs RUN yarn \ && DRONE...
Opengraph URL: https://github.com/coder/code-server/issues/1380
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failed to build docker image","articleBody":"- `code-server` version: 2.1698\r\n- OS Version: macOS 10.15.3\r\n\r\n## Description\r\n\r\nI tried to build my own docker image by running\r\n```\r\ndocker image build -t my-code-server:0.1 .\r\n```\r\n\r\nWhen it runs\r\n\r\n```\r\nRUN yarn \\\r\n\t&& DRONE_TAG=\"2.1698\" MINIFY=true BINARY=true GITHUB_TOKEN=\"MY_PERSONAL_GITHUB_TOKEN\" ./scripts/ci.bash \\\r\n\t&& rm -r /src/build \\\r\n\t&& rm -r /src/source\r\n```\r\n\r\nI always get this error:\r\n\r\n```\r\n...Earlier Output overflowed...\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:15:0: error: unterminated #ifndef\r\n #ifndef INCLUDE_V8_H_\r\n \r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node_buffer.h:26:0,\r\n from ../../nan/nan.h:55,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:5767:1: error: unterminated comment\r\n /**\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:15:0: error: unterminated #ifndef\r\n #ifndef INCLUDE_V8_H_\r\n \r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:25:0,\r\n from ../../nan/nan.h:56,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:5767:1: error: unterminated comment\r\n /**\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:15:0: error: unterminated #ifndef\r\n #ifndef INCLUDE_V8_H_\r\n \r\nIn file included from ../src/unix/pty.cc:20:0:\r\n../../nan/nan.h:141:0: warning: \"TYPE_CHECK\" redefined\r\n #define TYPE_CHECK(T, S) \\\r\n \r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:145:0: note: this is the location of the previous definition\r\n #define TYPE_CHECK(T, S) \\\r\n \r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:116:17: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Value> ErrnoException(v8::Isolate* isolate,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:121:17: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Value> UVException(v8::Isolate* isolate,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:129:28: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n inline v8::Local\u003cv8::Value> ErrnoException(\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:142:28: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n inline v8::Local\u003cv8::Value> UVException(int errorno,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:161:33: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Value> MakeCallback(\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:168:33: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Value> MakeCallback(\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:175:33: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Value> MakeCallback(\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:234:53: error: 'v8::v8::ArrayBuffer' has not been declared\r\n class NODE_EXTERN ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:234:66: error: expected '{' before 'Allocator'\r\n class NODE_EXTERN ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {\r\n ^~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:235:2: error: expected primary-expression before 'public'\r\n public:\r\n ^~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:235:2: error: expected '}' before 'public'\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:243:2: error: expected unqualified-id before 'private'\r\n private:\r\n ^~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:246:3: error: 'friend' used outside of class\r\n friend class IsolateData;\r\n ^~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:250:13: error: 'ArrayBufferAllocator' does not name a type\r\n NODE_EXTERN ArrayBufferAllocator* CreateArrayBufferAllocator();\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:251:43: error: variable or field 'FreeArrayBufferAllocator' declared void\r\n NODE_EXTERN void FreeArrayBufferAllocator(ArrayBufferAllocator* allocator);\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:251:43: error: 'ArrayBufferAllocator' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:251:43: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:234:19: note: 'v8::node::ArrayBufferAllocator'\r\n class NODE_EXTERN ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:251:65: error: 'allocator' was not declared in this scope\r\n NODE_EXTERN void FreeArrayBufferAllocator(ArrayBufferAllocator* allocator);\r\n ^~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:251:65: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/bits/allocator.h:47:0,\r\n from /usr/include/c++/6/memory:63,\r\n from /root/.cache/node-gyp/6.1.6/include/node/v8.h:21,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/c++/6/bits/memoryfwd.h:64:11: note: 'std::allocator'\r\n class allocator;\r\n ^~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:284:54: error: variable or field 'SetIsolateCreateParams' declared void\r\n NODE_EXTERN void SetIsolateCreateParams(v8::Isolate::CreateParams* params,\r\n ^~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:284:41: error: incomplete type 'v8::v8::Isolate' used in nested name specifier\r\n NODE_EXTERN void SetIsolateCreateParams(v8::Isolate::CreateParams* params,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:284:68: error: 'params' was not declared in this scope\r\n NODE_EXTERN void SetIsolateCreateParams(v8::Isolate::CreateParams* params,\r\n ^~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:285:41: error: 'ArrayBufferAllocator' was not declared in this scope\r\n ArrayBufferAllocator* allocator\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:285:41: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:234:19: note: 'v8::node::ArrayBufferAllocator'\r\n class NODE_EXTERN ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:285:63: error: 'allocator' was not declared in this scope\r\n ArrayBufferAllocator* allocator\r\n ^~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:285:63: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/bits/allocator.h:47:0,\r\n from /usr/include/c++/6/memory:63,\r\n from /root/.cache/node-gyp/6.1.6/include/node/v8.h:21,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/c++/6/bits/memoryfwd.h:64:11: note: 'std::allocator'\r\n class allocator;\r\n ^~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:294:37: error: 'ArrayBufferAllocator' was not declared in this scope\r\n NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:294:37: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:234:19: note: 'v8::node::ArrayBufferAllocator'\r\n class NODE_EXTERN ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:294:59: error: 'allocator' was not declared in this scope\r\n NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,\r\n ^~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:294:59: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/bits/allocator.h:47:0,\r\n from /usr/include/c++/6/memory:63,\r\n from /root/.cache/node-gyp/6.1.6/include/node/v8.h:21,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/c++/6/bits/memoryfwd.h:64:11: note: 'std::allocator'\r\n class allocator;\r\n ^~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:295:37: error: expected primary-expression before 'struct'\r\n struct uv_loop_s* event_loop);\r\n ^~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:295:65: error: expression list treated as compound expression in initializer [-fpermissive]\r\n struct uv_loop_s* event_loop);\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:296:37: error: redefinition of 'v8::v8::Isolate* v8::NewIsolate'\r\n NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:294:26: note: 'v8::v8::Isolate* v8::NewIsolate' previously defined here\r\n NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:296:37: error: 'ArrayBufferAllocator' was not declared in this scope\r\n NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:296:37: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:234:19: note: 'v8::node::ArrayBufferAllocator'\r\n class NODE_EXTERN ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {\r\n ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:296:59: error: 'allocator' was not declared in this scope\r\n NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,\r\n ^~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:296:59: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/bits/allocator.h:47:0,\r\n from /usr/include/c++/6/memory:63,\r\n from /root/.cache/node-gyp/6.1.6/include/node/v8.h:21,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/c++/6/bits/memoryfwd.h:64:11: note: 'std::allocator'\r\n class allocator;\r\n ^~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:297:37: error: expected primary-expression before 'struct'\r\n struct uv_loop_s* event_loop,\r\n ^~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:298:57: error: expected primary-expression before '*' token\r\n MultiIsolatePlatform* platform);\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:298:59: error: 'platform' was not declared in this scope\r\n MultiIsolatePlatform* platform);\r\n ^~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:301:17: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Context> NewContext(\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:309:17: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Context> MaybeInitializeContext(\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:317:13: error: 'IsolateData' does not name a type\r\n NODE_EXTERN IsolateData* CreateIsolateData(\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:322:34: error: variable or field 'FreeIsolateData' declared void\r\n NODE_EXTERN void FreeIsolateData(IsolateData* isolate_data);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:322:34: error: 'IsolateData' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:322:34: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:205:7: note: 'v8::node::IsolateData'\r\n class IsolateData;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:322:47: error: 'isolate_data' was not declared in this scope\r\n NODE_EXTERN void FreeIsolateData(IsolateData* isolate_data);\r\n ^~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:328:13: error: 'Environment' does not name a type\r\n NODE_EXTERN Environment* CreateEnvironment(IsolateData* isolate_data,\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:335:39: error: 'Environment' was not declared in this scope\r\n NODE_EXTERN bool BootstrapEnvironment(Environment* env);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:335:39: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:335:52: error: 'env' was not declared in this scope\r\n NODE_EXTERN bool BootstrapEnvironment(Environment* env);\r\n ^~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:337:34: error: variable or field 'LoadEnvironment' declared void\r\n NODE_EXTERN void LoadEnvironment(Environment* env);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:337:34: error: 'Environment' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:337:34: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:337:47: error: 'env' was not declared in this scope\r\n NODE_EXTERN void LoadEnvironment(Environment* env);\r\n ^~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:338:34: error: variable or field 'FreeEnvironment' declared void\r\n NODE_EXTERN void FreeEnvironment(Environment* env);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:338:34: error: 'Environment' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:338:34: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:338:47: error: 'env' was not declared in this scope\r\n NODE_EXTERN void FreeEnvironment(Environment* env);\r\n ^~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:341:13: error: 'Environment' does not name a type\r\n NODE_EXTERN Environment* GetCurrentEnvironment(v8::Local\u003cv8::Context> context);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:356:33: error: variable or field 'EmitBeforeExit' declared void\r\n NODE_EXTERN void EmitBeforeExit(Environment* env);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:356:33: error: 'Environment' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:356:33: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:356:46: error: 'env' was not declared in this scope\r\n NODE_EXTERN void EmitBeforeExit(Environment* env);\r\n ^~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:357:26: error: 'Environment' was not declared in this scope\r\n NODE_EXTERN int EmitExit(Environment* env);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:357:26: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:357:39: error: 'env' was not declared in this scope\r\n NODE_EXTERN int EmitExit(Environment* env);\r\n ^~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:358:28: error: variable or field 'RunAtExit' declared void\r\n NODE_EXTERN void RunAtExit(Environment* env);\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:358:28: error: 'Environment' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:358:28: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:358:41: error: 'env' was not declared in this scope\r\n NODE_EXTERN void RunAtExit(Environment* env);\r\n ^~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:366:28: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n inline v8::Local\u003cv8::Value> NODE_UNIXTIME_V8(double time) {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:374:52: error: 'v8::NODE_V8_UNIXTIME' declared as an 'inline' variable\r\n inline double NODE_V8_UNIXTIME(v8::Local\u003cv8::Date> date) {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:374:48: error: 'Local' is not a member of 'v8::v8'\r\n inline double NODE_V8_UNIXTIME(v8::Local\u003cv8::Date> date) {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:374:48: note: suggested alternative:\r\n inline double NODE_V8_UNIXTIME(v8::Local\u003cv8::Date> date) {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:374:58: error: 'Date' is not a member of 'v8::v8'\r\n inline double NODE_V8_UNIXTIME(v8::Local\u003cv8::Date> date) {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:374:58: note: suggested alternative:\r\n inline double NODE_V8_UNIXTIME(v8::Local\u003cv8::Date> date) {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:5253:17: note: 'v8::Date'\r\n class V8_EXPORT Date : public Object {\r\n ^~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:374:68: error: 'date' was not declared in this scope\r\n inline double NODE_V8_UNIXTIME(v8::Local\u003cv8::Date> date) {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED'\r\n __attribute__((deprecated(message))) declarator\r\n ^~~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:419:33: error: variable or field 'NODE_SET_METHOD' declared void\r\n inline void NODE_SET_METHOD(v8::Local\u003cv8::Template> recv,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:419:29: error: 'Local' is not a member of 'v8::v8'\r\n inline void NODE_SET_METHOD(v8::Local\u003cv8::Template> recv,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:419:29: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:419:39: error: 'Template' is not a member of 'v8::v8'\r\n inline void NODE_SET_METHOD(v8::Local\u003cv8::Template> recv,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:419:39: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:5436:17: note: 'v8::Template'\r\n class V8_EXPORT Template : public Data {\r\n ^~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:420:29: error: expected primary-expression before 'const'\r\n const char* name,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:421:29: error: 'FunctionCallback' is not a member of 'v8::v8'\r\n v8::FunctionCallback callback) {\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:421:29: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:4081:16: note: 'v8::FunctionCallback'\r\n typedef void (*FunctionCallback)(const FunctionCallbackInfo\u003cValue>& info);\r\n ^~~~~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:433:33: error: variable or field 'NODE_SET_METHOD' declared void\r\n inline void NODE_SET_METHOD(v8::Local\u003cv8::Object> recv,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:433:29: error: 'Local' is not a member of 'v8::v8'\r\n inline void NODE_SET_METHOD(v8::Local\u003cv8::Object> recv,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:433:29: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:433:39: error: 'Object' is not a member of 'v8::v8'\r\n inline void NODE_SET_METHOD(v8::Local\u003cv8::Object> recv,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:433:39: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:3328:17: note: 'v8::Object'\r\n class V8_EXPORT Object : public Value {\r\n ^~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:434:29: error: expected primary-expression before 'const'\r\n const char* name,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:435:29: error: 'FunctionCallback' is not a member of 'v8::v8'\r\n v8::FunctionCallback callback) {\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:435:29: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:4081:16: note: 'v8::FunctionCallback'\r\n typedef void (*FunctionCallback)(const FunctionCallbackInfo\u003cValue>& info);\r\n ^~~~~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:451:43: error: variable or field 'NODE_SET_PROTOTYPE_METHOD' declared void\r\n inline void NODE_SET_PROTOTYPE_METHOD(v8::Local\u003cv8::FunctionTemplate> recv,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:451:39: error: 'Local' is not a member of 'v8::v8'\r\n inline void NODE_SET_PROTOTYPE_METHOD(v8::Local\u003cv8::FunctionTemplate> recv,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:451:39: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:451:49: error: 'FunctionTemplate' is not a member of 'v8::v8'\r\n inline void NODE_SET_PROTOTYPE_METHOD(v8::Local\u003cv8::FunctionTemplate> recv,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:451:49: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:49:7: note: 'v8::FunctionTemplate'\r\n class FunctionTemplate;\r\n ^~~~~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:452:39: error: expected primary-expression before 'const'\r\n const char* name,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:453:39: error: 'FunctionCallback' is not a member of 'v8::v8'\r\n v8::FunctionCallback callback) {\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:453:39: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:4081:16: note: 'v8::FunctionCallback'\r\n typedef void (*FunctionCallback)(const FunctionCallbackInfo\u003cValue>& info);\r\n ^~~~~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:471:9: error: 'v8::v8::Local' has not been declared\r\n v8::Local\u003cv8::Value> encoding_v,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:471:14: error: expected ',' or '...' before '\u003c' token\r\n v8::Local\u003cv8::Value> encoding_v,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:475:43: error: 'TryCatch' in namespace 'v8::v8' does not name a type\r\n const v8::TryCatch& try_catch);\r\n ^~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:477:17: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Value> Encode(v8::Isolate* isolate,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:484:17: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n NODE_EXTERN v8::Local\u003cv8::Value> Encode(v8::Isolate* isolate,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:490:37: error: 'v8::v8::Local' has not been declared\r\n v8::Local\u003cv8::Value>,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:490:42: error: expected ',' or '...' before '\u003c' token\r\n v8::Local\u003cv8::Value>,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:496:37: error: 'v8::v8::Local' has not been declared\r\n v8::Local\u003cv8::Value>,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:496:42: error: expected ',' or '...' before '\u003c' token\r\n v8::Local\u003cv8::Value>,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:511:9: error: typedef 'v8::addon_register_func' is initialized (use decltype instead)\r\n v8::Local\u003cv8::Object> exports,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:511:5: error: 'Local' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Object> exports,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:511:5: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:511:15: error: 'Object' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Object> exports,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:511:15: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:3328:17: note: 'v8::Object'\r\n class V8_EXPORT Object : public Value {\r\n ^~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:511:27: error: 'exports' was not declared in this scope\r\n v8::Local\u003cv8::Object> exports,\r\n ^~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:512:5: error: 'Local' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Value> module,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:512:5: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:512:15: error: 'Value' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Value> module,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:512:15: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:2219:17: note: 'v8::Value'\r\n class V8_EXPORT Value : public Data {\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:512:26: error: 'module' was not declared in this scope\r\n v8::Local\u003cv8::Value> module,\r\n ^~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:513:5: error: expected primary-expression before 'void'\r\n void* priv);\r\n ^~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:516:9: error: typedef 'v8::addon_context_register_func' is initialized (use decltype instead)\r\n v8::Local\u003cv8::Object> exports,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:516:5: error: 'Local' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Object> exports,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:516:5: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:516:15: error: 'Object' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Object> exports,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:516:15: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:3328:17: note: 'v8::Object'\r\n class V8_EXPORT Object : public Value {\r\n ^~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:516:27: error: 'exports' was not declared in this scope\r\n v8::Local\u003cv8::Object> exports,\r\n ^~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:517:5: error: 'Local' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Value> module,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:517:5: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:517:15: error: 'Value' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Value> module,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:517:15: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:2219:17: note: 'v8::Value'\r\n class V8_EXPORT Value : public Data {\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:517:26: error: 'module' was not declared in this scope\r\n v8::Local\u003cv8::Value> module,\r\n ^~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:518:5: error: 'Local' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Context> context,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:518:5: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:86:26: note: 'v8::Local'\r\n template \u003cclass T> class Local;\r\n ^~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:518:15: error: 'Context' is not a member of 'v8::v8'\r\n v8::Local\u003cv8::Context> context,\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:518:15: note: suggested alternative:\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:18:7: note: 'v8::Context'\r\n class Context;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:518:28: error: 'context' was not declared in this scope\r\n v8::Local\u003cv8::Context> context,\r\n ^~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:519:5: error: expected primary-expression before 'void'\r\n void* priv);\r\n ^~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:530:9: error: 'addon_register_func' in namespace 'v8::node' does not name a type\r\n node::addon_register_func nm_register_func;\r\n ^~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:531:9: error: 'addon_context_register_func' in namespace 'v8::node' does not name a type\r\n node::addon_context_register_func nm_context_register_func;\r\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:656:25: error: variable or field 'AtExit' declared void\r\n NODE_EXTERN void AtExit(Environment* env,\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:656:25: error: 'Environment' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:656:25: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:656:38: error: 'env' was not declared in this scope\r\n NODE_EXTERN void AtExit(Environment* env,\r\n ^~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:657:32: error: 'cb' was not declared in this scope\r\n void (*cb)(void* arg),\r\n ^~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:657:36: error: expected primary-expression before 'void'\r\n void (*cb)(void* arg),\r\n ^~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:658:25: error: expected primary-expression before 'void'\r\n void* arg = nullptr);\r\n ^~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:662:5: error: 'node' in namespace '::' does not name a type\r\n ::node::async_id async_id;\r\n ^~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:663:5: error: 'node' in namespace '::' does not name a type\r\n ::node::async_id trigger_async_id;\r\n ^~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:695:45: error: 'v8::v8::Local' has not been declared\r\n v8::Local\u003cv8::Object> resource,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:695:50: error: expected ',' or '...' before '\u003c' token\r\n v8::Local\u003cv8::Object> resource,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:700:45: error: 'v8::v8::Local' has not been declared\r\n v8::Local\u003cv8::Object> resource,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:700:50: error: expected ',' or '...' before '\u003c' token\r\n v8::Local\u003cv8::Object> resource,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:712:35: error: variable or field 'EmitAsyncDestroy' declared void\r\n NODE_EXTERN void EmitAsyncDestroy(Environment* env,\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:712:35: error: 'Environment' was not declared in this scope\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:712:35: note: suggested alternative:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:206:7: note: 'v8::node::Environment'\r\n class Environment;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:712:48: error: 'env' was not declared in this scope\r\n NODE_EXTERN void EmitAsyncDestroy(Environment* env,\r\n ^~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:713:49: error: expected primary-expression before 'asyncContext'\r\n async_context asyncContext);\r\n ^~~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:735:21: error: 'v8::v8::Local' has not been declared\r\n v8::Local\u003cv8::Object> resource,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:735:26: error: expected ',' or '...' before '\u003c' token\r\n v8::Local\u003cv8::Object> resource,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:746:7: error: 'TryCatch' in namespace 'v8::v8' does not name a type\r\n v8::TryCatch try_catch_;\r\n ^~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:760:5: error: 'MaybeLocal' in namespace 'v8::v8' does not name a template type\r\n v8::MaybeLocal\u003cv8::Value> MakeCallback(v8::Isolate* isolate,\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:767:5: error: 'MaybeLocal' in namespace 'v8::v8' does not name a template type\r\n v8::MaybeLocal\u003cv8::Value> MakeCallback(v8::Isolate* isolate,\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:774:5: error: 'MaybeLocal' in namespace 'v8::v8' does not name a template type\r\n v8::MaybeLocal\u003cv8::Value> MakeCallback(v8::Isolate* isolate,\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:787:21: error: 'v8::v8::Local' has not been declared\r\n v8::Local\u003cv8::Object> resource,\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:787:26: error: expected ',' or '...' before '\u003c' token\r\n v8::Local\u003cv8::Object> resource,\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:796:7: error: 'MaybeLocal' in namespace 'v8::v8' does not name a template type\r\n v8::MaybeLocal\u003cv8::Value> MakeCallback(\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:801:7: error: 'MaybeLocal' in namespace 'v8::v8' does not name a template type\r\n v8::MaybeLocal\u003cv8::Value> MakeCallback(\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:806:7: error: 'MaybeLocal' in namespace 'v8::v8' does not name a template type\r\n v8::MaybeLocal\u003cv8::Value> MakeCallback(\r\n ^~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:811:7: error: 'Local' in namespace 'v8::v8' does not name a template type\r\n v8::Local\u003cv8::Object> get_resource();\r\n ^~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:816:64: error: expected class-name before '{' token\r\n class NODE_EXTERN CallbackScope : public node::CallbackScope {\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:822:3: error: 'Environment' does not name a type\r\n Environment* env_;\r\n ^~~~~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:823:7: error: 'Persistent' in namespace 'v8::v8' does not name a template type\r\n v8::Persistent\u003cv8::Object> resource_;\r\n ^~~~~~~~~~\r\nIn file included from ../../nan/nan.h:55:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node_buffer.h:54:49: error: use of enum 'encoding' without previous declaration\r\n enum encoding enc = UTF8);\r\n ^~~~~~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node_buffer.h:54:64: error: 'UTF8' was not declared in this scope\r\n enum encoding enc = UTF8);\r\n ^~~~\r\n/root/.cache/node-gyp/6.1.6/include/node/node_buffer.h:54:64: note: suggested alternative:\r\nIn file included from ../../nan/nan.h:54:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node.h:467:23: note: 'UTF8'\r\n enum encoding {ASCII, UTF8, BASE64, UCS2, BINARY, HEX, BUFFER, LATIN1 = BINARY};\r\n ^~~~\r\nIn file included from ../../nan/nan.h:56:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h: In member function 'v8::Local\u003cv8::Object> node::ObjectWrap::handle()':\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:59:19: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n return handle(v8::Isolate::GetCurrent());\r\n ^~\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:26,\r\n from ../../nan/nan.h:56,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(v8::Local\u003cv8::Object>)':\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:75:5: error: '__assert_fail' was not declared in this scope\r\n assert(persistent().IsEmpty());\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:75:5: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:184,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/assert.h:69:13: note: 'v8::__assert_fail'\r\n extern void __assert_fail (const char *__assertion, const char *__file,\r\n ^~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:56:0,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:78:24: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n persistent().Reset(v8::Isolate::GetCurrent(), handle);\r\n ^~\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:26,\r\n from ../../nan/nan.h:56,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Ref()':\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:92:5: error: '__assert_fail' was not declared in this scope\r\n assert(!persistent().IsEmpty());\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:92:5: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:184,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/assert.h:69:13: note: 'v8::__assert_fail'\r\n extern void __assert_fail (const char *__assertion, const char *__file,\r\n ^~~~~~~~~~~~~\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:26,\r\n from ../../nan/nan.h:56,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Unref()':\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:107:5: error: '__assert_fail' was not declared in this scope\r\n assert(!persistent().IsEmpty());\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:107:5: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:184,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/assert.h:69:13: note: 'v8::__assert_fail'\r\n extern void __assert_fail (const char *__assertion, const char *__file,\r\n ^~~~~~~~~~~~~\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:26,\r\n from ../../nan/nan.h:56,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h: In static member function 'static void node::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo\u003cnode::ObjectWrap>&)':\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:120:5: error: '__assert_fail' was not declared in this scope\r\n assert(wrap->refs_ == 0);\r\n ^\r\n/root/.cache/node-gyp/6.1.6/include/node/node_object_wrap.h:120:5: note: suggested alternative:\r\nIn file included from /usr/include/c++/6/cassert:44:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:184,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/usr/include/assert.h:69:13: note: 'v8::__assert_fail'\r\n extern void __assert_fail (const char *__assertion, const char *__file,\r\n ^~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::MaybeLocal\u003cv8::String> Nan::ToDetailString(v8::Local\u003cv8::Value>)':\r\n../../nan/nan_maybe_43_inl.h:17:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:19:50: error: invalid use of incomplete type 'class v8::Isolate'\r\n return scope.Escape(val->ToDetailString(isolate->GetCurrentContext())\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::MaybeLocal\u003cv8::Uint32> Nan::ToArrayIndex(v8::Local\u003cv8::Value>)':\r\n../../nan/nan_maybe_43_inl.h:25:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:27:48: error: invalid use of incomplete type 'class v8::Isolate'\r\n return scope.Escape(val->ToArrayIndex(isolate->GetCurrentContext())\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::Maybe\u003cbool> Nan::Equals(v8::Local\u003cv8::Value>, v8::Local\u003cv8::Value>)':\r\n../../nan/nan_maybe_43_inl.h:33:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:35:27: error: invalid use of incomplete type 'class v8::Isolate'\r\n return a->Equals(isolate->GetCurrentContext(), b);\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::MaybeLocal\u003cv8::Object> Nan::NewInstance(v8::Local\u003cv8::Function>)':\r\n../../nan/nan_maybe_43_inl.h:40:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:42:45: error: invalid use of incomplete type 'class v8::Isolate'\r\n return scope.Escape(h->NewInstance(isolate->GetCurrentContext())\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::MaybeLocal\u003cv8::Object> Nan::NewInstance(v8::Local\u003cv8::Function>, int, v8::Local\u003cv8::Value>*)':\r\n../../nan/nan_maybe_43_inl.h:51:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:53:45: error: invalid use of incomplete type 'class v8::Isolate'\r\n return scope.Escape(h->NewInstance(isolate->GetCurrentContext(), argc, argv)\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::MaybeLocal\u003cv8::Object> Nan::NewInstance(v8::Local\u003cv8::ObjectTemplate>)':\r\n../../nan/nan_maybe_43_inl.h:59:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:61:24: error: invalid use of incomplete type 'class v8::ObjectTemplate'\r\n return scope.Escape(h->NewInstance(isolate->GetCurrentContext())\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:63:7: note: forward declaration of 'class v8::ObjectTemplate'\r\n class ObjectTemplate;\r\n ^~~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h:61:45: error: invalid use of incomplete type 'class v8::Isolate'\r\n return scope.Escape(h->NewInstance(isolate->GetCurrentContext())\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::MaybeLocal\u003cv8::Function> Nan::GetFunction(v8::Local\u003cv8::FunctionTemplate>)':\r\n../../nan/nan_maybe_43_inl.h:68:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:70:24: error: invalid use of incomplete type 'class v8::FunctionTemplate'\r\n return scope.Escape(t->GetFunction(isolate->GetCurrentContext())\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/node.h:63:0,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8.h:49:7: note: forward declaration of 'class v8::FunctionTemplate'\r\n class FunctionTemplate;\r\n ^~~~~~~~~~~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h:70:45: error: invalid use of incomplete type 'class v8::Isolate'\r\n return scope.Escape(t->GetFunction(isolate->GetCurrentContext())\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::Maybe\u003cbool> Nan::Set(v8::Local\u003cv8::Object>, v8::Local\u003cv8::Value>, v8::Local\u003cv8::Value>)':\r\n../../nan/nan_maybe_43_inl.h:78:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:80:26: error: invalid use of incomplete type 'class v8::Isolate'\r\n return obj->Set(isolate->GetCurrentContext(), key, value);\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/node-gyp/6.1.6/include/node/v8-internal.h:20:7: note: forward declaration of 'class v8::Isolate'\r\n class Isolate;\r\n ^~~~~~~\r\nIn file included from ../../nan/nan.h:282:0,\r\n from ../src/unix/pty.cc:20:\r\n../../nan/nan_maybe_43_inl.h: In function 'Nan::Maybe\u003cbool> Nan::Set(v8::Local\u003cv8::Object>, uint32_t, v8::Local\u003cv8::Value>)':\r\n../../nan/nan_maybe_43_inl.h:87:26: error: incomplete type 'v8::Isolate' used in nested name specifier\r\n v8::Isolate *isolate = v8::Isolate::GetCurrent();\r\n ^~\r\n../../nan/nan_maybe_43_inl.h:89:26: error: invalid use of incomplete type 'class v8::Isolate'\r\n return obj->Set(isolate->GetCurrentContext(), index, value);\r\n ^~\r\nIn file included from /root/.cache/node-gyp/6.1.6/include/node/v8.h:25:0,\r\n from /root/.cache/node-gyp/6.1.6/include/node/node.h:63,\r\n from ../../nan/nan.h:54,\r\n from ../src/unix/pty.cc:20:\r\n/root/.cache/nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\nerror Command failed with exit code 1.\r\n```","author":{"url":"https://github.com/limitMe","@type":"Person","name":"limitMe"},"datePublished":"2020-02-29T12:51:02Z","url":"https://github.com/coder/code-server/issues/1380"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1d1a3d48-db5e-bfa4-71dd-1830461af0e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB22:95647:17DCF:1E992:6B01AE7F |
| html-safe-nonce | 079296ab4057962932d10984862db2407cc8789ad4024edbfa65535c7954b12d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjIyOjk1NjQ3OjE3RENGOjFFOTkyOjZCMDFBRTdGIiwidmlzaXRvcl9pZCI6Ijg0MDU5MjQwOTQ0NTY5OTk1NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b71b6bb73d30fe38d502d4e29834581f48ac2960fe8345b35d4436b6bb6cfdfe |
| hovercard-subject-tag | issue:573288864 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/1380/issue_layout |
| twitter:image | https://opengraph.githubassets.com/902cae56689cd1c2a7d99757432f83c29503a25e1c7a4a3f8e8f71bab8fe7d0c/coder/code-server/issues/1380 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/902cae56689cd1c2a7d99757432f83c29503a25e1c7a4a3f8e8f71bab8fe7d0c/coder/code-server/issues/1380 |
| og:image:alt | code-server version: 2.1698 OS Version: macOS 10.15.3 Description I tried to build my own docker image by running docker image build -t my-code-server:0.1 . When it runs RUN yarn \ && DRONE_TAG="2.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | limitMe |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width