Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install fails on io.js v3.0.0 #606

Closed
mathiasbynens opened this issue Aug 6, 2015 · 6 comments
Closed

npm install fails on io.js v3.0.0 #606

mathiasbynens opened this issue Aug 6, 2015 · 6 comments

Comments

@mathiasbynens
Copy link
Contributor

$ nvm install iojs
iojs-v3.0.0 is already installed.
Now using io.js v3.0.0

$ npm install canvas
npm http request GET https://registry.npmjs.org/canvas
npm http 304 https://registry.npmjs.org/canvas
npm http fetch GET https://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz
npm http fetch 200 https://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan

> canvas@1.2.7 install /tmp/node_modules/canvas
> node-gyp rebuild

  SOLINK_MODULE(target) Release/canvas-postbuild.node
  CXX(target) Release/obj.target/canvas/src/Canvas.o
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../node_modules/nan/nan.h:324:27: error: redefinition of
      'NanEnsureHandleOrPersistent'
  NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Loca...
                          ^
../node_modules/nan/nan.h:319:17: note: previous definition is here
  v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
                ^
../node_modules/nan/nan.h:344:27: error: redefinition of 'NanEnsureLocal'
  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {
                          ^
../node_modules/nan/nan.h:334:27: note: previous definition is here
  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {
                          ^
../node_modules/nan/nan.h:757:13: error: no member named 'smalloc' in
      namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:768:12: error: no matching function for call to
      'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/mathias/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note:
      candidate function not viable: no known conversion from 'uint32_t'
      (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/mathias/.node-gyp/3.0.0/include/node/node_buffer.h:47:40: note:
      candidate function not viable: 2nd argument ('const char *') would
      lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/mathias/.node-gyp/3.0.0/include/node/node_buffer.h:32:40: note:
      candidate function not viable: requires 2 arguments, but 3 were
      provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, siz...
                                       ^
/Users/mathias/.node-gyp/3.0.0/include/node/node_buffer.h:40:40: note:
      candidate function not viable: requires 5 arguments, but 3 were
      provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../node_modules/nan/nan.h:772:12: error: no viable conversion from
      'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:210:7: note: candidate
      constructor (the implicit copy constructor) not viable: no known
      conversion from 'v8::MaybeLocal<v8::Object>' to 'const
      v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:210:7: note: candidate
      constructor (the implicit move constructor) not viable: no known
      conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>
      &&' for 1st argument
class Local {
      ^
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:214:13: note: candidate
      template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:327:13: note: candidate
      template ignored: could not match 'S *' against
      'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../node_modules/nan/nan.h:779:26: error: no member named 'Use' in namespace
      'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:11:
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to
      'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from
      macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:501:12: note: in instantiation of function
      template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>'
      requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:11:
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to
      'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from
      macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:511:12: note: in instantiation of function
      template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>'
      requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:11:
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to
      'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from
      macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1645:12: note: in instantiation of function
      template specialization 'v8::Local<v8::Function>::Local<v8::Value>'
      requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:11:
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to
      'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/mathias/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from
      macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1776:12: note: in instantiation of function
      template specialization 'v8::Local<v8::Object>::Local<v8::Value>'
      requested here
    return NanEscapeScope(
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
10 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 (/Users/mathias/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269: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 14.4.0
gyp ERR! command "/Users/mathias/.nvm/versions/io.js/v3.0.0/bin/iojs" "/Users/mathias/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/node_modules/canvas
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 14.4.0
npm ERR! argv "/Users/mathias/.nvm/versions/io.js/v3.0.0/bin/iojs" "/Users/mathias/.nvm/versions/io.js/v3.0.0/bin/npm" "install" "canvas"
npm ERR! node v3.0.0
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! canvas@1.2.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@1.2.7 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/npm-debug.log

npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ '/Users/mathias/.nvm/versions/io.js/v3.0.0/bin/iojs',
1 verbose cli   '/Users/mathias/.nvm/versions/io.js/v3.0.0/bin/npm',
1 verbose cli   'install',
1 verbose cli   'canvas' ]
2 info using npm@2.13.3
3 info using node@v3.0.0
4 verbose install initial load of /tmp/package.json
5 verbose readDependencies loading dependencies from /tmp/package.json
6 silly cache add args [ 'canvas', null ]
7 verbose cache add spec canvas
8 silly cache add parsed spec { raw: 'canvas',
8 silly cache add   scope: null,
8 silly cache add   name: 'canvas',
8 silly cache add   rawSpec: '',
8 silly cache add   spec: '*',
8 silly cache add   type: 'range' }
9 silly addNamed canvas@*
10 verbose addNamed "*" is a valid semver range for canvas
11 silly addNameRange { name: 'canvas', range: '*', hasData: false }
12 silly mapToRegistry name canvas
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/canvas
16 verbose addNameRange registry:https://registry.npmjs.org/canvas not in flight; fetching
17 verbose request uri https://registry.npmjs.org/canvas
18 verbose request no auth needed
19 info attempt registry request try #1 at 17:44:01
20 verbose request id 6c57cf25add58f91
21 verbose etag "EWR0Q6JI2UNMRVUBMFOCRFP2H"
22 http request GET https://registry.npmjs.org/canvas
23 http 304 https://registry.npmjs.org/canvas
24 silly get cb [ 304,
24 silly get   { date: 'Thu, 06 Aug 2015 15:44:01 GMT',
24 silly get     via: '1.1 varnish',
24 silly get     'cache-control': 'max-age=60',
24 silly get     etag: '"EWR0Q6JI2UNMRVUBMFOCRFP2H"',
24 silly get     age: '0',
24 silly get     connection: 'keep-alive',
24 silly get     'x-served-by': 'cache-lhr6321-LHR',
24 silly get     'x-cache': 'HIT',
24 silly get     'x-cache-hits': '1',
24 silly get     'x-timer': 'S1438875841.237450,VS0,VE98',
24 silly get     vary: 'Accept' } ]
25 verbose etag https://registry.npmjs.org/canvas from cache
26 verbose get saving canvas to /Users/mathias/.npm/registry.npmjs.org/canvas/.cache.json
27 silly addNameRange number 2 { name: 'canvas', range: '*', hasData: true }
28 silly addNameRange versions [ 'canvas',
28 silly addNameRange   [ '0.0.1',
28 silly addNameRange     '0.0.2',
28 silly addNameRange     '0.0.3',
28 silly addNameRange     '0.0.4',
28 silly addNameRange     '0.0.5',
28 silly addNameRange     '0.0.6',
28 silly addNameRange     '0.0.7',
28 silly addNameRange     '0.0.8',
28 silly addNameRange     '0.1.0',
28 silly addNameRange     '0.2.0',
28 silly addNameRange     '0.2.1',
28 silly addNameRange     '0.3.0',
28 silly addNameRange     '0.3.1',
28 silly addNameRange     '0.3.2',
28 silly addNameRange     '0.3.3',
28 silly addNameRange     '0.4.0',
28 silly addNameRange     '0.4.1',
28 silly addNameRange     '0.4.2',
28 silly addNameRange     '0.4.3',
28 silly addNameRange     '0.5.0',
28 silly addNameRange     '0.5.1',
28 silly addNameRange     '0.5.2',
28 silly addNameRange     '0.5.3',
28 silly addNameRange     '0.5.4',
28 silly addNameRange     '0.6.0',
28 silly addNameRange     '0.7.0',
28 silly addNameRange     '0.7.1',
28 silly addNameRange     '0.7.2',
28 silly addNameRange     '0.7.3',
28 silly addNameRange     '0.8.0',
28 silly addNameRange     '0.8.1',
28 silly addNameRange     '0.8.2',
28 silly addNameRange     '0.8.3',
28 silly addNameRange     '0.9.0',
28 silly addNameRange     '0.10.0',
28 silly addNameRange     '0.10.1',
28 silly addNameRange     '0.10.2',
28 silly addNameRange     '0.10.3',
28 silly addNameRange     '0.11.0',
28 silly addNameRange     '0.11.1',
28 silly addNameRange     '0.11.2',
28 silly addNameRange     '0.11.3',
28 silly addNameRange     '0.12.0',
28 silly addNameRange     '0.12.1',
28 silly addNameRange     '0.13.0',
28 silly addNameRange     '0.13.1',
28 silly addNameRange     '1.0.0',
28 silly addNameRange     '1.0.1',
28 silly addNameRange     '1.0.2',
28 silly addNameRange     '1.0.3',
28 silly addNameRange     '1.0.4',
28 silly addNameRange     '1.1.0',
28 silly addNameRange     '1.1.1',
28 silly addNameRange     '1.1.2',
28 silly addNameRange     '1.1.3',
28 silly addNameRange     '1.1.4',
28 silly addNameRange     '1.1.5',
28 silly addNameRange     '1.1.6',
28 silly addNameRange     '1.2.0',
28 silly addNameRange     '1.2.1',
28 silly addNameRange     '1.2.2',
28 silly addNameRange     '1.2.3',
28 silly addNameRange     '1.2.4',
28 silly addNameRange     '1.2.5',
28 silly addNameRange     '1.2.6',
28 silly addNameRange     '1.2.7' ] ]
29 silly addNamed canvas@1.2.7
30 verbose addNamed "1.2.7" is a plain semver version for canvas
31 silly mapToRegistry name canvas
32 silly mapToRegistry using default registry
33 silly mapToRegistry registry https://registry.npmjs.org/
34 silly mapToRegistry uri https://registry.npmjs.org/canvas
35 verbose addRemoteTarball https://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz not in flight; adding
36 verbose addRemoteTarball [ 'https://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz',
36 verbose addRemoteTarball   '36ea77836fafa968a34950507fc940bdf6bd4940' ]
37 info retry fetch attempt 1 at 17:44:01
38 info attempt registry request try #1 at 17:44:01
39 http fetch GET https://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz
40 http fetch 200 https://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz
41 silly fetchAndShaCheck shasum 36ea77836fafa968a34950507fc940bdf6bd4940
42 verbose addTmpTarball /var/folders/lr/ht_5hzw922q_4ztcdglqc3g80000gn/T/npm-80048-57ee5273/registry.npmjs.org/canvas/-/canvas-1.2.7.tgz not in flight; adding
43 verbose addTmpTarball already have metadata; skipping unpack for canvas@1.2.7
44 silly cache afterAdd canvas@1.2.7
45 verbose afterAdd /Users/mathias/.npm/canvas/1.2.7/package/package.json not in flight; writing
46 verbose afterAdd /Users/mathias/.npm/canvas/1.2.7/package/package.json written
47 silly install resolved [ { name: 'canvas',
47 silly install resolved     description: 'Canvas graphics API backed by Cairo',
47 silly install resolved     version: '1.2.7',
47 silly install resolved     author: { name: 'TJ Holowaychuk', email: 'tj@learnboost.com' },
47 silly install resolved     contributors: [ [Object], [Object], [Object] ],
47 silly install resolved     keywords:
47 silly install resolved      [ 'canvas',
47 silly install resolved        'graphic',
47 silly install resolved        'graphics',
47 silly install resolved        'pixman',
47 silly install resolved        'cairo',
47 silly install resolved        'image',
47 silly install resolved        'images',
47 silly install resolved        'pdf' ],
47 silly install resolved     homepage: 'https://github.com/Automattic/node-canvas',
47 silly install resolved     repository:
47 silly install resolved      { type: 'git',
47 silly install resolved        url: 'git://github.com/Automattic/node-canvas.git' },
47 silly install resolved     scripts: { test: 'make test', install: 'node-gyp rebuild' },
47 silly install resolved     dependencies: { nan: '^1.8.4' },
47 silly install resolved     devDependencies: { express: '3.0', jade: '0.28.1', mocha: '*', should: '*' },
47 silly install resolved     engines: { node: '>= 0.6.0' },
47 silly install resolved     main: './lib/canvas.js',
47 silly install resolved     license: 'MIT',
47 silly install resolved     gypfile: true,
47 silly install resolved     gitHead: '46a26de488fd6d3784a53d634a1339927ea81e44',
47 silly install resolved     bugs: { url: 'https://github.com/Automattic/node-canvas/issues' },
47 silly install resolved     _id: 'canvas@1.2.7',
47 silly install resolved     _shasum: '36ea77836fafa968a34950507fc940bdf6bd4940',
47 silly install resolved     _from: 'canvas@*',
47 silly install resolved     _npmVersion: '2.12.1',
47 silly install resolved     _nodeVersion: '0.12.7',
47 silly install resolved     _npmUser: { name: 'linusu', email: 'linus@folkdatorn.se' },
47 silly install resolved     maintainers: [ [Object], [Object], [Object], [Object], [Object], [Object] ],
47 silly install resolved     dist:
47 silly install resolved      { shasum: '36ea77836fafa968a34950507fc940bdf6bd4940',
47 silly install resolved        tarball: 'http://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz' },
47 silly install resolved     directories: {},
47 silly install resolved     _resolved: 'https://registry.npmjs.org/canvas/-/canvas-1.2.7.tgz' } ]
48 info install canvas@1.2.7 into /tmp
49 info installOne canvas@1.2.7
50 verbose installOne of canvas to /tmp not in flight; installing
51 verbose lock using /Users/mathias/.npm/_locks/canvas-fb02e716fe619836.lock for /tmp/node_modules/canvas
52 silly install write writing canvas 1.2.7 to /tmp/node_modules/canvas
53 verbose unbuild node_modules/canvas
54 silly gentlyRm /tmp/node_modules/canvas is being purged from base /tmp
55 verbose gentlyRm don't care about contents; nuking /tmp/node_modules/canvas
56 verbose tar unpack /Users/mathias/.npm/canvas/1.2.7/package.tgz
57 verbose tar unpacking to /tmp/node_modules/canvas
58 silly gentlyRm /tmp/node_modules/canvas is being purged
59 verbose gentlyRm don't care about contents; nuking /tmp/node_modules/canvas
60 silly gunzTarPerm modes [ '755', '644' ]
61 silly gunzTarPerm extractEntry package.json
62 silly gunzTarPerm extractEntry .npmignore
63 silly gunzTarPerm extractEntry index.js
64 silly gunzTarPerm extractEntry History.md
65 silly gunzTarPerm extractEntry Makefile
66 silly gunzTarPerm extractEntry Readme.md
67 silly gunzTarPerm extractEntry binding.gyp
68 silly gunzTarPerm extractEntry .gitmodules
69 silly gunzTarPerm extractEntry install
70 silly gunzTarPerm extractEntry lib/bindings.js
71 silly gunzTarPerm extractEntry lib/canvas.js
72 silly gunzTarPerm extractEntry lib/context2d.js
73 silly gunzTarPerm extractEntry lib/image.js
74 silly gunzTarPerm extractEntry lib/jpegstream.js
75 silly gunzTarPerm extractEntry lib/pixelarray.js
76 silly gunzTarPerm extractEntry lib/pngstream.js
77 silly gunzTarPerm extractEntry .travis.yml
78 silly gunzTarPerm extractEntry src/Image.h
79 silly gunzTarPerm extractEntry src/Canvas.cc
80 silly gunzTarPerm extractEntry src/CanvasGradient.cc
81 silly gunzTarPerm extractEntry src/CanvasGradient.h
82 silly gunzTarPerm extractEntry src/CanvasPattern.cc
83 silly gunzTarPerm extractEntry src/CanvasPattern.h
84 silly gunzTarPerm extractEntry src/CanvasRenderingContext2d.cc
85 silly gunzTarPerm extractEntry src/CanvasRenderingContext2d.h
86 silly gunzTarPerm extractEntry src/FontFace.cc
87 silly gunzTarPerm extractEntry src/FontFace.h
88 silly gunzTarPerm extractEntry src/Image.cc
89 silly gunzTarPerm extractEntry src/Canvas.h
90 silly gunzTarPerm extractEntry src/ImageData.cc
91 silly gunzTarPerm extractEntry src/ImageData.h
92 silly gunzTarPerm extractEntry src/JPEGStream.h
93 silly gunzTarPerm extractEntry src/PNG.h
94 silly gunzTarPerm extractEntry src/PixelArray.cc
95 silly gunzTarPerm extractEntry src/PixelArray.h
96 silly gunzTarPerm extractEntry src/Point.h
97 silly gunzTarPerm extractEntry src/closure.h
98 silly gunzTarPerm extractEntry src/color.cc
99 silly gunzTarPerm extractEntry src/color.h
100 silly gunzTarPerm extractEntry src/init.cc
101 silly gunzTarPerm extractEntry util/cairo_include.sh
102 silly gunzTarPerm extractEntry util/has_cairo_freetype.sh
103 silly gunzTarPerm extractEntry util/has_lib.sh
104 silly gunzTarPerm extractEntry util/lib_lookup.sh
105 verbose write writing to /tmp/node_modules/canvas/package.json
106 info preinstall canvas@1.2.7
107 verbose readDependencies loading dependencies from /tmp/node_modules/canvas/package.json
108 silly prepareForInstallMany adding nan@^1.8.4 from canvas dependencies
109 verbose readDependencies loading dependencies from /tmp/node_modules/canvas/package.json
110 silly cache add args [ 'nan@^1.8.4', null ]
111 verbose cache add spec nan@^1.8.4
112 silly cache add parsed spec { raw: 'nan@^1.8.4',
112 silly cache add   scope: null,
112 silly cache add   name: 'nan',
112 silly cache add   rawSpec: '^1.8.4',
112 silly cache add   spec: '>=1.8.4 <2.0.0',
112 silly cache add   type: 'range' }
113 silly addNamed nan@>=1.8.4 <2.0.0
114 verbose addNamed ">=1.8.4 <2.0.0" is a valid semver range for nan
115 silly addNameRange { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: false }
116 silly mapToRegistry name nan
117 silly mapToRegistry using default registry
118 silly mapToRegistry registry https://registry.npmjs.org/
119 silly mapToRegistry uri https://registry.npmjs.org/nan
120 verbose addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
121 verbose request uri https://registry.npmjs.org/nan
122 verbose request no auth needed
123 info attempt registry request try #1 at 17:44:02
124 verbose etag "9TM5STV36BTUZ5A79JIW8E2V2"
125 http request GET https://registry.npmjs.org/nan
126 http 304 https://registry.npmjs.org/nan
127 silly get cb [ 304,
127 silly get   { date: 'Thu, 06 Aug 2015 15:44:02 GMT',
127 silly get     via: '1.1 varnish',
127 silly get     'cache-control': 'max-age=60',
127 silly get     etag: '"9TM5STV36BTUZ5A79JIW8E2V2"',
127 silly get     age: '8',
127 silly get     connection: 'keep-alive',
127 silly get     'x-served-by': 'cache-lhr6328-LHR',
127 silly get     'x-cache': 'HIT',
127 silly get     'x-cache-hits': '2',
127 silly get     'x-timer': 'S1438875842.616092,VS0,VE0',
127 silly get     vary: 'Accept' } ]
128 verbose etag https://registry.npmjs.org/nan from cache
129 verbose get saving nan to /Users/mathias/.npm/registry.npmjs.org/nan/.cache.json
130 silly addNameRange number 2 { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: true }
131 silly addNameRange versions [ 'nan',
131 silly addNameRange   [ '0.3.0-wip',
131 silly addNameRange     '0.3.0-wip2',
131 silly addNameRange     '0.3.0',
131 silly addNameRange     '0.3.1',
131 silly addNameRange     '0.3.2',
131 silly addNameRange     '0.4.0',
131 silly addNameRange     '0.4.1',
131 silly addNameRange     '0.4.2',
131 silly addNameRange     '0.4.3',
131 silly addNameRange     '0.4.4',
131 silly addNameRange     '0.5.0',
131 silly addNameRange     '0.5.1',
131 silly addNameRange     '0.5.2',
131 silly addNameRange     '0.6.0',
131 silly addNameRange     '0.7.0',
131 silly addNameRange     '0.7.1',
131 silly addNameRange     '0.8.0',
131 silly addNameRange     '1.0.0',
131 silly addNameRange     '1.1.0',
131 silly addNameRange     '1.1.1',
131 silly addNameRange     '1.1.2',
131 silly addNameRange     '1.2.0',
131 silly addNameRange     '1.3.0',
131 silly addNameRange     '1.4.0',
131 silly addNameRange     '1.4.1',
131 silly addNameRange     '1.5.0',
131 silly addNameRange     '1.4.2',
131 silly addNameRange     '1.4.3',
131 silly addNameRange     '1.5.1',
131 silly addNameRange     '1.5.2',
131 silly addNameRange     '1.6.0',
131 silly addNameRange     '1.5.3',
131 silly addNameRange     '1.6.1',
131 silly addNameRange     '1.6.2',
131 silly addNameRange     '1.7.0',
131 silly addNameRange     '1.8.0',
131 silly addNameRange     '1.8.1',
131 silly addNameRange     '1.8.2',
131 silly addNameRange     '1.8.3',
131 silly addNameRange     '1.8.4',
131 silly addNameRange     '1.9.0',
131 silly addNameRange     '2.0.0',
131 silly addNameRange     '2.0.1',
131 silly addNameRange     '2.0.2' ] ]
132 silly addNamed nan@1.9.0
133 verbose addNamed "1.9.0" is a plain semver version for nan
134 silly cache afterAdd nan@1.9.0
135 verbose afterAdd /Users/mathias/.npm/nan/1.9.0/package/package.json not in flight; writing
136 verbose afterAdd /Users/mathias/.npm/nan/1.9.0/package/package.json written
137 silly install resolved [ { name: 'nan',
137 silly install resolved     version: '1.9.0',
137 silly install resolved     description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
137 silly install resolved     main: 'include_dirs.js',
137 silly install resolved     repository: { type: 'git', url: 'git://github.com/nodejs/nan.git' },
137 silly install resolved     scripts:
137 silly install resolved      { test: 'tap --gc test/js/*-test.js',
137 silly install resolved        'rebuild-tests': 'pangyp rebuild --msvs_version=2013 --directory test' },
137 silly install resolved     contributors:
137 silly install resolved      [ [Object],
137 silly install resolved        [Object],
137 silly install resolved        [Object],
137 silly install resolved        [Object],
137 silly install resolved        [Object],
137 silly install resolved        [Object],
137 silly install resolved        [Object] ],
137 silly install resolved     devDependencies:
137 silly install resolved      { bindings: '~1.2.1',
137 silly install resolved        'node-gyp': '~2.0.2',
137 silly install resolved        pangyp: '~2.2.0',
137 silly install resolved        tap: '~0.7.1',
137 silly install resolved        xtend: '~4.0.0' },
137 silly install resolved     license: 'MIT',
137 silly install resolved     gitHead: '399b3a54ada39a7cf7a11978ea727eae3686666e',
137 silly install resolved     bugs: { url: 'https://github.com/nodejs/nan/issues' },
137 silly install resolved     homepage: 'https://github.com/nodejs/nan#readme',
137 silly install resolved     _id: 'nan@1.9.0',
137 silly install resolved     _shasum: '1a9cd2755609766f5c291e4194fce39fde286515',
137 silly install resolved     _from: 'nan@>=1.8.4 <2.0.0',
137 silly install resolved     _npmVersion: '2.13.3',
137 silly install resolved     _nodeVersion: '0.12.2',
137 silly install resolved     _npmUser: { name: 'kkoopa', email: 'bbyholm@abo.fi' },
137 silly install resolved     maintainers: [ [Object], [Object] ],
137 silly install resolved     dist:
137 silly install resolved      { shasum: '1a9cd2755609766f5c291e4194fce39fde286515',
137 silly install resolved        tarball: 'http://registry.npmjs.org/nan/-/nan-1.9.0.tgz' },
137 silly install resolved     directories: {},
137 silly install resolved     _resolved: 'https://registry.npmjs.org/nan/-/nan-1.9.0.tgz',
137 silly install resolved     readme: 'ERROR: No README data found!' } ]
138 info install nan@1.9.0 into /tmp/node_modules/canvas
139 info installOne nan@1.9.0
140 verbose installOne of nan to /tmp/node_modules/canvas not in flight; installing
141 verbose lock using /Users/mathias/.npm/_locks/nan-2c875eb60af8a561.lock for /tmp/node_modules/canvas/node_modules/nan
142 silly install write writing nan 1.9.0 to /tmp/node_modules/canvas/node_modules/nan
143 verbose unbuild node_modules/canvas/node_modules/nan
144 silly gentlyRm /tmp/node_modules/canvas/node_modules/nan is being purged from base /tmp
145 verbose gentlyRm don't care about contents; nuking /tmp/node_modules/canvas/node_modules/nan
146 verbose tar unpack /Users/mathias/.npm/nan/1.9.0/package.tgz
147 verbose tar unpacking to /tmp/node_modules/canvas/node_modules/nan
148 silly gentlyRm /tmp/node_modules/canvas/node_modules/nan is being purged
149 verbose gentlyRm don't care about contents; nuking /tmp/node_modules/canvas/node_modules/nan
150 silly gunzTarPerm modes [ '755', '644' ]
151 silly gunzTarPerm extractEntry package.json
152 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]
153 silly gunzTarPerm extractEntry README.md
154 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ]
155 silly gunzTarPerm extractEntry include_dirs.js
156 silly gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
157 silly gunzTarPerm extractEntry LICENSE.md
158 silly gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
159 silly gunzTarPerm extractEntry .dntrc
160 silly gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
161 silly gunzTarPerm extractEntry appveyor.yml
162 silly gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
163 silly gunzTarPerm extractEntry nan.h
164 silly gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
165 silly gunzTarPerm extractEntry nan_implementation_12_inl.h
166 silly gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
167 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
168 silly gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
169 silly gunzTarPerm extractEntry nan_new.h
170 silly gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
171 silly gunzTarPerm extractEntry nan_string_bytes.h
172 silly gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
173 silly gunzTarPerm extractEntry CHANGELOG.md
174 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
175 silly gunzTarPerm extractEntry tools/node_modules/commander/package.json
176 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/package.json', 436, 420 ]
177 silly gunzTarPerm extractEntry tools/node_modules/commander/LICENSE
178 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/LICENSE', 436, 420 ]
179 silly gunzTarPerm extractEntry tools/node_modules/commander/index.js
180 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/index.js', 436, 420 ]
181 silly gunzTarPerm extractEntry tools/node_modules/commander/History.md
182 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/History.md', 436, 420 ]
183 silly gunzTarPerm extractEntry tools/node_modules/commander/Readme.md
184 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/Readme.md', 436, 420 ]
185 silly gunzTarPerm extractEntry tools/node_modules/commander/node_modules/graceful-readlink/package.json
186 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/node_modules/graceful-readlink/package.json',
186 silly gunzTarPerm   436,
186 silly gunzTarPerm   420 ]
187 silly gunzTarPerm extractEntry tools/node_modules/commander/node_modules/graceful-readlink/.npmignore
188 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/node_modules/graceful-readlink/.npmignore',
188 silly gunzTarPerm   436,
188 silly gunzTarPerm   420 ]
189 silly gunzTarPerm extractEntry tools/node_modules/commander/node_modules/graceful-readlink/README.md
190 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/node_modules/graceful-readlink/README.md',
190 silly gunzTarPerm   436,
190 silly gunzTarPerm   420 ]
191 silly gunzTarPerm extractEntry tools/node_modules/commander/node_modules/graceful-readlink/LICENSE
192 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/node_modules/graceful-readlink/LICENSE',
192 silly gunzTarPerm   436,
192 silly gunzTarPerm   420 ]
193 silly gunzTarPerm extractEntry tools/node_modules/commander/node_modules/graceful-readlink/index.js
194 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/node_modules/graceful-readlink/index.js',
194 silly gunzTarPerm   436,
194 silly gunzTarPerm   420 ]
195 silly gunzTarPerm extractEntry tools/node_modules/commander/node_modules/graceful-readlink/.travis.yml
196 silly gunzTarPerm modified mode [ 'tools/node_modules/commander/node_modules/graceful-readlink/.travis.yml',
196 silly gunzTarPerm   436,
196 silly gunzTarPerm   420 ]
197 silly gunzTarPerm extractEntry tools/node_modules/glob/package.json
198 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/package.json', 436, 420 ]
199 silly gunzTarPerm extractEntry tools/node_modules/glob/README.md
200 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/README.md', 436, 420 ]
201 silly gunzTarPerm extractEntry tools/node_modules/glob/LICENSE
202 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/LICENSE', 436, 420 ]
203 silly gunzTarPerm extractEntry tools/node_modules/glob/common.js
204 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/common.js', 436, 420 ]
205 silly gunzTarPerm extractEntry tools/node_modules/glob/glob.js
206 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/glob.js', 436, 420 ]
207 silly gunzTarPerm extractEntry tools/node_modules/glob/sync.js
208 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/sync.js', 436, 420 ]
209 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/package.json
210 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/package.json',
210 silly gunzTarPerm   436,
210 silly gunzTarPerm   420 ]
211 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/README.md
212 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/README.md',
212 silly gunzTarPerm   436,
212 silly gunzTarPerm   420 ]
213 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/LICENSE
214 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/LICENSE',
214 silly gunzTarPerm   436,
214 silly gunzTarPerm   420 ]
215 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/inflight.js
216 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/inflight.js',
216 silly gunzTarPerm   436,
216 silly gunzTarPerm   420 ]
217 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/test.js
218 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/test.js',
218 silly gunzTarPerm   436,
218 silly gunzTarPerm   420 ]
219 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/.eslintrc
220 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/.eslintrc',
220 silly gunzTarPerm   436,
220 silly gunzTarPerm   420 ]
221 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json
222 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json',
222 silly gunzTarPerm   436,
222 silly gunzTarPerm   420 ]
223 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md
224 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md',
224 silly gunzTarPerm   436,
224 silly gunzTarPerm   420 ]
225 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE
226 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE',
226 silly gunzTarPerm   436,
226 silly gunzTarPerm   420 ]
227 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js
228 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js',
228 silly gunzTarPerm   436,
228 silly gunzTarPerm   420 ]
229 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js
230 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js',
230 silly gunzTarPerm   436,
230 silly gunzTarPerm   420 ]
231 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inherits/package.json
232 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inherits/package.json',
232 silly gunzTarPerm   436,
232 silly gunzTarPerm   420 ]
233 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inherits/README.md
234 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inherits/README.md',
234 silly gunzTarPerm   436,
234 silly gunzTarPerm   420 ]
235 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inherits/LICENSE
236 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inherits/LICENSE',
236 silly gunzTarPerm   436,
236 silly gunzTarPerm   420 ]
237 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inherits/inherits.js
238 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inherits/inherits.js',
238 silly gunzTarPerm   436,
238 silly gunzTarPerm   420 ]
239 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inherits/inherits_browser.js
240 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inherits/inherits_browser.js',
240 silly gunzTarPerm   436,
240 silly gunzTarPerm   420 ]
241 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/inherits/test.js
242 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/inherits/test.js',
242 silly gunzTarPerm   436,
242 silly gunzTarPerm   420 ]
243 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/package.json
244 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/package.json',
244 silly gunzTarPerm   436,
244 silly gunzTarPerm   420 ]
245 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/README.md
246 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/README.md',
246 silly gunzTarPerm   436,
246 silly gunzTarPerm   420 ]
247 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/LICENSE
248 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/LICENSE',
248 silly gunzTarPerm   436,
248 silly gunzTarPerm   420 ]
249 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/browser.js
250 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/browser.js',
250 silly gunzTarPerm   436,
250 silly gunzTarPerm   420 ]
251 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/minimatch.js
252 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/minimatch.js',
252 silly gunzTarPerm   436,
252 silly gunzTarPerm   420 ]
253 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json
254 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json',
254 silly gunzTarPerm   436,
254 silly gunzTarPerm   420 ]
255 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore
256 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore',
256 silly gunzTarPerm   436,
256 silly gunzTarPerm   420 ]
257 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md
258 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md',
258 silly gunzTarPerm   436,
258 silly gunzTarPerm   420 ]
259 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js
260 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js',
260 silly gunzTarPerm   436,
260 silly gunzTarPerm   420 ]
261 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js
262 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js',
262 silly gunzTarPerm   436,
262 silly gunzTarPerm   420 ]
263 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml
264 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml',
264 silly gunzTarPerm   436,
264 silly gunzTarPerm   420 ]
265 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js
266 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js',
266 silly gunzTarPerm   436,
266 silly gunzTarPerm   420 ]
267 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js
268 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js',
268 silly gunzTarPerm   436,
268 silly gunzTarPerm   420 ]
269 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js
270 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js',
270 silly gunzTarPerm   436,
270 silly gunzTarPerm   420 ]
271 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js
272 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js',
272 silly gunzTarPerm   436,
272 silly gunzTarPerm   420 ]
273 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js
274 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js',
274 silly gunzTarPerm   436,
274 silly gunzTarPerm   420 ]
275 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js
276 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js',
276 silly gunzTarPerm   436,
276 silly gunzTarPerm   420 ]
277 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js
278 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js',
278 silly gunzTarPerm   436,
278 silly gunzTarPerm   420 ]
279 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js
280 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js',
280 silly gunzTarPerm   436,
280 silly gunzTarPerm   420 ]
281 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js
282 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js',
282 silly gunzTarPerm   436,
282 silly gunzTarPerm   420 ]
283 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-results.txt
284 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-results.txt',
284 silly gunzTarPerm   436,
284 silly gunzTarPerm   420 ]
285 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh
286 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh',
286 silly gunzTarPerm   436,
286 silly gunzTarPerm   420 ]
287 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt
288 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt',
288 silly gunzTarPerm   436,
288 silly gunzTarPerm   420 ]
289 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json
290 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json',
290 silly gunzTarPerm   436,
290 silly gunzTarPerm   420 ]
291 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore
292 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore',
292 silly gunzTarPerm   436,
292 silly gunzTarPerm   420 ]
293 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md
294 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md',
294 silly gunzTarPerm   436,
294 silly gunzTarPerm   420 ]
295 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js
296 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js',
296 silly gunzTarPerm   436,
296 silly gunzTarPerm   420 ]
297 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js
298 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js',
298 silly gunzTarPerm   436,
298 silly gunzTarPerm   420 ]
299 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml
300 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml',
300 silly gunzTarPerm   436,
300 silly gunzTarPerm   420 ]
301 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile
302 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile',
302 silly gunzTarPerm   436,
302 silly gunzTarPerm   420 ]
303 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js
304 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js',
304 silly gunzTarPerm   436,
304 silly gunzTarPerm   420 ]
305 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json
306 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json',
306 silly gunzTarPerm   436,
306 silly gunzTarPerm   420 ]
307 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE
308 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE',
308 silly gunzTarPerm   436,
308 silly gunzTarPerm   420 ]
309 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js
310 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js',
310 silly gunzTarPerm   436,
310 silly gunzTarPerm   420 ]
311 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml
312 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml',
312 silly gunzTarPerm   436,
312 silly gunzTarPerm   420 ]
313 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown
314 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown',
314 silly gunzTarPerm   436,
314 silly gunzTarPerm   420 ]
315 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js
316 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js',
316 silly gunzTarPerm   436,
316 silly gunzTarPerm   420 ]
317 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js
318 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js',
318 silly gunzTarPerm   436,
318 silly gunzTarPerm   420 ]
319 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/package.json
320 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/package.json',
320 silly gunzTarPerm   436,
320 silly gunzTarPerm   420 ]
321 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/README.md
322 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/README.md',
322 silly gunzTarPerm   436,
322 silly gunzTarPerm   420 ]
323 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/LICENSE
324 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/LICENSE', 436, 420 ]
325 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/once.js
326 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/once.js', 436, 420 ]
327 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/test/once.js
328 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/test/once.js',
328 silly gunzTarPerm   436,
328 silly gunzTarPerm   420 ]
329 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/node_modules/wrappy/package.json
330 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/node_modules/wrappy/package.json',
330 silly gunzTarPerm   436,
330 silly gunzTarPerm   420 ]
331 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/node_modules/wrappy/README.md
332 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/node_modules/wrappy/README.md',
332 silly gunzTarPerm   436,
332 silly gunzTarPerm   420 ]
333 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE
334 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE',
334 silly gunzTarPerm   436,
334 silly gunzTarPerm   420 ]
335 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js
336 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js',
336 silly gunzTarPerm   436,
336 silly gunzTarPerm   420 ]
337 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js
338 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js',
338 silly gunzTarPerm   436,
338 silly gunzTarPerm   420 ]
339 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/path-is-absolute/package.json
340 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/path-is-absolute/package.json',
340 silly gunzTarPerm   436,
340 silly gunzTarPerm   420 ]
341 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/path-is-absolute/index.js
342 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/path-is-absolute/index.js',
342 silly gunzTarPerm   436,
342 silly gunzTarPerm   420 ]
343 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/path-is-absolute/license
344 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/path-is-absolute/license',
344 silly gunzTarPerm   436,
344 silly gunzTarPerm   420 ]
345 silly gunzTarPerm extractEntry tools/node_modules/glob/node_modules/path-is-absolute/readme.md
346 silly gunzTarPerm modified mode [ 'tools/node_modules/glob/node_modules/path-is-absolute/readme.md',
346 silly gunzTarPerm   436,
346 silly gunzTarPerm   420 ]
347 verbose write writing to /tmp/node_modules/canvas/node_modules/nan/package.json
348 info preinstall nan@1.9.0
349 verbose readDependencies loading dependencies from /tmp/node_modules/canvas/node_modules/nan/package.json
350 verbose readDependencies loading dependencies from /tmp/node_modules/canvas/node_modules/nan/package.json
351 silly install resolved []
352 verbose about to build /tmp/node_modules/canvas/node_modules/nan
353 info build /tmp/node_modules/canvas/node_modules/nan
354 info linkStuff nan@1.9.0
355 silly linkStuff nan@1.9.0 has /tmp/node_modules/canvas/node_modules as its parent node_modules
356 verbose linkBins nan@1.9.0
357 verbose linkMans nan@1.9.0
358 verbose rebuildBundles nan@1.9.0
359 info install nan@1.9.0
360 info postinstall nan@1.9.0
361 verbose unlock done using /Users/mathias/.npm/_locks/nan-2c875eb60af8a561.lock for /tmp/node_modules/canvas/node_modules/nan
362 verbose about to build /tmp/node_modules/canvas
363 info build /tmp/node_modules/canvas
364 info linkStuff canvas@1.2.7
365 silly linkStuff canvas@1.2.7 has /tmp/node_modules as its parent node_modules
366 verbose linkBins canvas@1.2.7
367 verbose linkMans canvas@1.2.7
368 verbose rebuildBundles canvas@1.2.7
369 verbose rebuildBundles [ 'nan' ]
370 info install canvas@1.2.7
371 verbose unsafe-perm in lifecycle true
372 info canvas@1.2.7 Failed to exec install script
373 verbose unlock done using /Users/mathias/.npm/_locks/canvas-fb02e716fe619836.lock for /tmp/node_modules/canvas
374 verbose stack Error: canvas@1.2.7 install: `node-gyp rebuild`
374 verbose stack Exit status 1
374 verbose stack     at EventEmitter.<anonymous> (/Users/mathias/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
374 verbose stack     at emitTwo (events.js:87:13)
374 verbose stack     at EventEmitter.emit (events.js:172:7)
374 verbose stack     at ChildProcess.<anonymous> (/Users/mathias/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/lib/utils/spawn.js:24:14)
374 verbose stack     at emitTwo (events.js:87:13)
374 verbose stack     at ChildProcess.emit (events.js:172:7)
374 verbose stack     at maybeClose (internal/child_process.js:764:16)
374 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
375 verbose pkgid canvas@1.2.7
376 verbose cwd /tmp
377 error Darwin 14.4.0
378 error argv "/Users/mathias/.nvm/versions/io.js/v3.0.0/bin/iojs" "/Users/mathias/.nvm/versions/io.js/v3.0.0/bin/npm" "install" "canvas"
379 error node v3.0.0
380 error npm  v2.13.3
381 error code ELIFECYCLE
382 error canvas@1.2.7 install: `node-gyp rebuild`
382 error Exit status 1
383 error Failed at the canvas@1.2.7 install script 'node-gyp rebuild'.
383 error This is most likely a problem with the canvas package,
383 error not with npm itself.
383 error Tell the author that this fails on your system:
383 error     node-gyp rebuild
383 error You can get their info via:
383 error     npm owner ls canvas
383 error There is likely additional logging output above.
384 verbose exit [ 1, true ]
385 verbose unbuild node_modules/canvas
386 info preuninstall canvas@1.2.7
387 info uninstall canvas@1.2.7
388 verbose unbuild rmStuff canvas@1.2.7 from /tmp/node_modules
389 info postuninstall canvas@1.2.7
390 silly gentlyRm /tmp/node_modules/canvas is being purged from base /tmp
391 verbose gentlyRm don't care about contents; nuking /tmp/node_modules/canvas
392 silly vacuum-fs purging /tmp/node_modules/canvas
393 silly vacuum-fs removing /tmp/node_modules
394 silly vacuum-fs finished vacuuming up to /tmp
@LinusU
Copy link
Collaborator

LinusU commented Aug 6, 2015

nan 1.x doesn't support iojs 3.x, this is why it's failing.

There is a pull request which started doing the work to convert to 2.0 here: #580. It might be a bit of work to finish it thought.

@grnadav
Copy link

grnadav commented Aug 18, 2015

harp.js getting same error with io.js 3.0.0:

8 warnings generated.
  LIBTOOL-STATIC Release/sass.a
  CXX(target) Release/obj.target/binding/src/binding.o
In file included from ../src/binding.cpp:1:
../node_modules/nan/nan.h:324:27: error: redefinition of 'NanEnsureHandleOrPersistent'
  NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
                          ^
../node_modules/nan/nan.h:319:17: note: previous definition is here
  v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
                ^
../node_modules/nan/nan.h:344:27: error: redefinition of 'NanEnsureLocal'
  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {

mathiasbynens added a commit to tibiamaps/tibia-map-data that referenced this issue Sep 1, 2015
mathiasbynens added a commit to tibiamaps/tibia-map-data that referenced this issue Sep 1, 2015
@vjpr
Copy link

vjpr commented Sep 19, 2015

It's not working for me with 2.0 - 2.5.

> canvas@1.0.4 install xxx/nvm/versions/io.js/v2.5.0/lib/node_modules/svg-mapper/node_modules/canvas
> node-gyp rebuild

2015-09-19 23:54:21.990 xcodebuild[76669:514089] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7fddabc436a0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk'>': SDK with name 'iphonesimulator8.4' being superceded by SDK with 'iphonesimulator8.4'.
2015-09-19 23:54:21.996 xcodebuild[76669:514089] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7fddabc4dcc0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk'>': SDK with name 'iphoneos8.4' being superceded by SDK with 'iphoneos8.4'.
2015-09-19 23:54:22.323 xcodebuild[76669:514089] [MT] DVTPlugInManager: Required plug-in compatibility UUID 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 for GPUDebuggerMTLSupport.ideplugin (com.apple.dt.gpu.GPUDebuggerMTLSupport) not present
  CXX(target) Release/obj.target/canvas/src/Canvas.o
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../src/nan.h:105:5: error: no member named 'ThrowException' in namespace 'v8'
    THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/nan.h:101:11: note: expanded from macro 'THROW_ERROR'
      v8::ThrowException(fun(v8::String::New(errmsg)));                        \
      ~~~~^
../src/nan.h:105:5: error: no member named 'New' in 'v8::String'
    THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/nan.h:101:42: note: expanded from macro 'THROW_ERROR'
      v8::ThrowException(fun(v8::String::New(errmsg)));                        \
                             ~~~~~~~~~~~~^
../src/nan.h:110:9: error: no type named 'ThrowException' in namespace 'v8'
    v8::ThrowException(error);
    ~~~~^
../src/nan.h:114:5: error: no member named 'ThrowException' in namespace 'v8'
    THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/nan.h:101:11: note: expanded from macro 'THROW_ERROR'
      v8::ThrowException(fun(v8::String::New(errmsg)));                        \
      ~~~~^
../src/nan.h:114:5: error: no member named 'New' in 'v8::String'
    THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/nan.h:101:42: note: expanded from macro 'THROW_ERROR'
      v8::ThrowException(fun(v8::String::New(errmsg)));                        \
                             ~~~~~~~~~~~~^
../src/nan.h:118:5: error: no member named 'ThrowException' in namespace 'v8'
    THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/nan.h:101:11: note: expanded from macro 'THROW_ERROR'
      v8::ThrowException(fun(v8::String::New(errmsg)));                        \
      ~~~~^
../src/nan.h:118:5: error: no member named 'New' in 'v8::String'
    THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/nan.h:101:42: note: expanded from macro 'THROW_ERROR'
      v8::ThrowException(fun(v8::String::New(errmsg)));                        \
                             ~~~~~~~~~~~~^
../src/nan.h:122:12: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Dispose(nan_isolate);
    ~~~~~~ ^
../src/nan.h:127:26: warning: 'New' is deprecated: Use New(isolate, ...) [-Wdeprecated-declarations]
    return node::Buffer::New(data, size);
                         ^
xxx/.node-gyp/2.5.0/src/node_buffer.h:45:46: note: 'New' has been explicitly marked deprecated here
                inline v8::Local<v8::Object> New(const char* data, size_t len) {
                                             ^
xxx/.node-gyp/2.5.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                                         ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../src/nan.h:131:26: warning: 'New' is deprecated: Use New(isolate, ...) [-Wdeprecated-declarations]
    return node::Buffer::New(size);
                         ^
xxx/.node-gyp/2.5.0/src/node_buffer.h:27:46: note: 'New' has been explicitly marked deprecated here
                inline v8::Local<v8::Object> New(size_t length) {
                                             ^
xxx/.node-gyp/2.5.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                                         ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../src/nan.h:229:48: error: too few arguments to function call, single argument 'isolate' was not specified
   v8::Local<v8::Object> obj = v8::Object::New();
                               ~~~~~~~~~~~~~~~ ^
xxx/.node-gyp/2.5.0/deps/v8/include/v8.h:2742:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../src/nan.h:230:13: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
   obj->Set(NanSymbol("callback"), fn);
            ^~~~~~~~~~~~~~~~~~~~~
../src/nan.h:30:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
xxx/.node-gyp/2.5.0/deps/v8/include/v8.h:1652:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../src/nan.h:230:13: error: call to non-static member function without an object argument
   obj->Set(NanSymbol("callback"), fn);
            ^~~~~~~~~~~~~~~~~~~~~
../src/nan.h:30:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^~~~~~~~~
../src/nan.h:236:11: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
   handle.Dispose();
   ~~~~~~ ^
../src/nan.h:252:12: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
       Get(NanSymbol("callback")).As<v8::Function>();
           ^~~~~~~~~~~~~~~~~~~~~
../src/nan.h:30:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
xxx/.node-gyp/2.5.0/deps/v8/include/v8.h:1652:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../src/nan.h:252:12: error: call to non-static member function without an object argument
       Get(NanSymbol("callback")).As<v8::Function>();
           ^~~~~~~~~~~~~~~~~~~~~
../src/nan.h:30:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^~~~~~~~~
../src/nan.h:252:50: error: expected '(' for function-style cast or type construction
       Get(NanSymbol("callback")).As<v8::Function>();
                                     ~~~~~~~~~~~~^
../src/nan.h:252:52: error: expected expression
       Get(NanSymbol("callback")).As<v8::Function>();
                                                   ^
../src/nan.h:254:32: error: no member named 'GetCurrent' in 'v8::Context'
   callback->Call(v8::Context::GetCurrent()->Global(), argc, argv);
                  ~~~~~~~~~~~~~^
../src/nan.h:256:12: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
     node::FatalException(try_catch);
           ^
xxx/.node-gyp/2.5.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
                inline void FatalException(const v8::TryCatch& try_catch) {
                            ^
xxx/.node-gyp/2.5.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                                         ^
In file included from ../src/Canvas.cc:7:
In file included from ../src/Canvas.h:22:
../src/nan.h:291:3: error: unknown type name 'uv_work_t'
  uv_work_t request;
  ^
../src/nan.h:300:17: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    handle->Set(NanSymbol(key), obj);
                ^~~~~~~~~~~~~~
../src/nan.h:30:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
xxx/.node-gyp/2.5.0/deps/v8/include/v8.h:1652:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 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 (xxx/nvm/versions/io.js/v2.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269: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 14.0.0
gyp ERR! command "xxx/nvm/versions/io.js/v2.5.0/bin/iojs" "xxx/nvm/versions/io.js/v2.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd xxx/nvm/versions/io.js/v2.5.0/lib/node_modules/svg-mapper/node_modules/canvas
gyp ERR! node -v v2.5.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> contextify@0.1.14 install xxx/nvm/versions/io.js/v2.5.0/lib/node_modules/svg-mapper/node_modules/jquery/node_modules/contextify
> node-gyp rebuild

2015-09-19 23:54:25.692 xcodebuild[76715:514240] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7fe752f7d7d0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk'>': SDK with name 'iphonesimulator8.4' being superceded by SDK with 'iphonesimulator8.4'.
2015-09-19 23:54:25.697 xcodebuild[76715:514240] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7fe752c49040:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk'>': SDK with name 'iphoneos8.4' being superceded by SDK with 'iphoneos8.4'.
2015-09-19 23:54:25.996 xcodebuild[76715:514240] [MT] DVTPlugInManager: Required plug-in compatibility UUID 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 for GPUDebuggerMTLSupport.ideplugin (com.apple.dt.gpu.GPUDebuggerMTLSupport) not present
  CXX(target) Release/obj.target/contextify/src/contextify.o
  SOLINK_MODULE(target) Release/contextify.node

> contextify@0.1.14 install xxx/nvm/versions/io.js/v2.5.0/lib/node_modules/svg-mapper/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild

2015-09-19 23:54:30.519 xcodebuild[76850:514459] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7fca328677b0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk'>': SDK with name 'iphonesimulator8.4' being superceded by SDK with 'iphonesimulator8.4'.
2015-09-19 23:54:30.527 xcodebuild[76850:514459] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7fca30d24f00:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk'>': SDK with name 'iphoneos8.4' being superceded by SDK with 'iphoneos8.4'.
2015-09-19 23:54:30.854 xcodebuild[76850:514459] [MT] DVTPlugInManager: Required plug-in compatibility UUID 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 for GPUDebuggerMTLSupport.ideplugin (com.apple.dt.gpu.GPUDebuggerMTLSupport) not present
  CXX(target) Release/obj.target/contextify/src/contextify.o
  SOLINK_MODULE(target) Release/contextify.node
npm ERR! Darwin 14.0.0
npm ERR! argv "xxx/nvm/versions/io.js/v2.5.0/bin/iojs" "xxx/nvm/versions/io.js/v2.5.0/bin/npm" "i" "-g" "svg-mapper"
npm ERR! node v2.5.0
npm ERR! npm  v2.13.2
npm ERR! code ELIFECYCLE

npm ERR! canvas@1.0.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the canvas@1.0.4 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     xxx/xxx/npm-debug.log

@LinusU
Copy link
Collaborator

LinusU commented Sep 19, 2015

@vjpr You are trying to install canvas 1.0.4, support for iojs 3.x was landed in 1.2.9

@LinusU
Copy link
Collaborator

LinusU commented Sep 19, 2015

Fixed in 1.2.9

@LinusU LinusU closed this as completed Sep 19, 2015
@vjpr
Copy link

vjpr commented Sep 19, 2015

My apologies - I did not see that as it was being installed as a dependency of another tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants