You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CXX(target) Release/obj.target/canvas/src/Canvas.o
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:54:36: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle New(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:55:41: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle ToBuffer(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:56:60: error: unknown type name 'AccessorInfo'
static Handle GetType(Local prop, const AccessorInfo &info);
^
../src/Canvas.h:57:61: error: unknown type name 'AccessorInfo'
static Handle GetWidth(Local prop, const AccessorInfo &info);
^
../src/Canvas.h:58:62: error: unknown type name 'AccessorInfo'
static Handle GetHeight(Local prop, const AccessorInfo &info);
^
../src/Canvas.h:59:70: error: unknown type name 'AccessorInfo'
static void SetWidth(Local prop, Local val, const AccessorInfo &info);
^
../src/Canvas.h:60:71: error: unknown type name 'AccessorInfo'
static void SetHeight(Local prop, Local val, const AccessorInfo &info);
^
../src/Canvas.h:61:46: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle StreamPNGSync(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:62:47: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle StreamJPEGSync(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:65:31: error: unknown type name 'uv_work_t'
static void ToBufferAsync(uv_work_t req);
^
../src/Canvas.h:66:36: error: unknown type name 'uv_work_t'
static void ToBufferAsyncAfter(uv_work_t *req);
^
In file included from ../src/Canvas.cc:8:
In file included from ../src/CanvasRenderingContext2d.h:13:
../src/CanvasGradient.h:17:36: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle New(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
In file included from ../src/CanvasRenderingContext2d.h:13:
../src/CanvasGradient.h:18:45: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle AddColorStop(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:74:36: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle New(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:75:42: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle DrawImage(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:76:45: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle PutImageData(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:77:37: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle Save(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:78:40: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle Restore(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:79:39: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle Rotate(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: ** [Release/obj.target/canvas/src/Canvas.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/usr/local/Cellar/node/5.3.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/automated-screenshot-diff/node_modules/canvas
gyp ERR! node -v v5.3.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN install:canvas@1.0.3 canvas@1.0.3 install: node-gyp rebuild
npm WARN install:canvas@1.0.3 Exit status 1
/usr/local/lib
└── (empty)
npm ERR! code 1
The text was updated successfully, but these errors were encountered:
I searched for solution everywhere.
When I run npm install -g automated-screenshot-diff, I get the following error:
/usr/local/bin/automated-screenshot-diff -> /usr/local/lib/node_modules/automated-screenshot-diff/bin/automated-screenshot-diff
CXX(target) Release/obj.target/canvas/src/Canvas.o
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:54:36: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle New(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:55:41: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle ToBuffer(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:56:60: error: unknown type name 'AccessorInfo'
static Handle GetType(Local prop, const AccessorInfo &info);
^
../src/Canvas.h:57:61: error: unknown type name 'AccessorInfo'
static Handle GetWidth(Local prop, const AccessorInfo &info);
^
../src/Canvas.h:58:62: error: unknown type name 'AccessorInfo'
static Handle GetHeight(Local prop, const AccessorInfo &info);
^
../src/Canvas.h:59:70: error: unknown type name 'AccessorInfo'
static void SetWidth(Local prop, Local val, const AccessorInfo &info);
^
../src/Canvas.h:60:71: error: unknown type name 'AccessorInfo'
static void SetHeight(Local prop, Local val, const AccessorInfo &info);
^
../src/Canvas.h:61:46: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle StreamPNGSync(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:62:47: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle StreamJPEGSync(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:7:
../src/Canvas.h:65:31: error: unknown type name 'uv_work_t'
static void ToBufferAsync(uv_work_t req);
^
../src/Canvas.h:66:36: error: unknown type name 'uv_work_t'
static void ToBufferAsyncAfter(uv_work_t *req);
^
In file included from ../src/Canvas.cc:8:
In file included from ../src/CanvasRenderingContext2d.h:13:
../src/CanvasGradient.h:17:36: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle New(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
In file included from ../src/CanvasRenderingContext2d.h:13:
../src/CanvasGradient.h:18:45: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle AddColorStop(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:74:36: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle New(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:75:42: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle DrawImage(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:76:45: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle PutImageData(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:77:37: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle Save(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:78:40: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle Restore(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/Canvas.cc:8:
../src/CanvasRenderingContext2d.h:79:39: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
static Handle Rotate(const Arguments &args);
^~~~~~~~~
v8::internal::Arguments
/Users/imtiazhossain/.node-gyp/5.3.0/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: ** [Release/obj.target/canvas/src/Canvas.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/usr/local/Cellar/node/5.3.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/automated-screenshot-diff/node_modules/canvas
gyp ERR! node -v v5.3.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN install:canvas@1.0.3 canvas@1.0.3 install:
node-gyp rebuild
npm WARN install:canvas@1.0.3 Exit status 1
/usr/local/lib
└── (empty)
npm ERR! code 1
The text was updated successfully, but these errors were encountered: