{"action":"created","issue":{"url":"https://api.github.com/repos/dberesford/exiv2node/issues/33","labels_url":"https://api.github.com/repos/dberesford/exiv2node/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/dberesford/exiv2node/issues/33/comments","events_url":"https://api.github.com/repos/dberesford/exiv2node/issues/33/events","html_url":"https://github.com/dberesford/exiv2node/issues/33","id":61890130,"number":33,"title":"Cannot install on Ubuntu and Windows","user":{"login":"Tomino2112","id":1140217,"avatar_url":"https://avatars.githubusercontent.com/u/1140217?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomino2112","html_url":"https://github.com/Tomino2112","followers_url":"https://api.github.com/users/Tomino2112/followers","following_url":"https://api.github.com/users/Tomino2112/following{/other_user}","gists_url":"https://api.github.com/users/Tomino2112/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomino2112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomino2112/subscriptions","organizations_url":"https://api.github.com/users/Tomino2112/orgs","repos_url":"https://api.github.com/users/Tomino2112/repos","events_url":"https://api.github.com/users/Tomino2112/events{/privacy}","received_events_url":"https://api.github.com/users/Tomino2112/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-15T19:57:27Z","updated_at":"2015-03-15T22:04:08Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to install this for quite some time already, but always fail on node-gyp. Any advice?\r\n\r\nContent of npm-debug.log:\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/node',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'install',\r\n1 verbose cli   'exiv2',\r\n1 verbose cli   '--verbose' ]\r\n2 info using npm@2.5.1\r\n3 info using node@v0.12.0\r\n4 silly cache add args [ 'exiv2', null ]\r\n5 verbose cache add spec exiv2\r\n6 silly cache add parsed spec { raw: 'exiv2',\r\n6 silly cache add   scope: null,\r\n6 silly cache add   name: 'exiv2',\r\n6 silly cache add   rawSpec: '',\r\n6 silly cache add   spec: '*',\r\n6 silly cache add   type: 'range' }\r\n7 verbose addNamed exiv2@*\r\n8 silly addNamed semver.valid null\r\n9 silly addNamed semver.validRange *\r\n10 silly addNameRange { name: 'exiv2', range: '*', hasData: false }\r\n11 silly mapToRegistry name exiv2\r\n12 silly mapToRegistry using default registry\r\n13 silly mapToRegistry registry https://registry.npmjs.org/\r\n14 silly mapToRegistry uri https://registry.npmjs.org/exiv2\r\n15 verbose addNameRange registry:https://registry.npmjs.org/exiv2 not in flight; fetching\r\n16 verbose request uri https://registry.npmjs.org/exiv2\r\n17 verbose request no auth needed\r\n18 info attempt registry request try #1 at 8:48:35 PM\r\n19 verbose request id 99592040d31d69e6\r\n20 verbose etag \"898K9H978TCX8H5NVQIC9079U\"\r\n21 http request GET https://registry.npmjs.org/exiv2\r\n22 http 304 https://registry.npmjs.org/exiv2\r\n23 silly get cb [ 304,\r\n23 silly get   { date: 'Sun, 15 Mar 2015 19:48:46 GMT',\r\n23 silly get     server: 'Apache',\r\n23 silly get     via: '1.1 varnish',\r\n23 silly get     'last-modified': 'Sun, 15 Mar 2015 19:48:46 GMT',\r\n23 silly get     'cache-control': 'max-age=60',\r\n23 silly get     etag: '\"898K9H978TCX8H5NVQIC9079U\"',\r\n23 silly get     age: '0',\r\n23 silly get     'x-served-by': 'cache-lhr6323-LHR',\r\n23 silly get     'x-cache': 'HIT',\r\n23 silly get     'x-cache-hits': '1',\r\n23 silly get     'x-timer': 'S1426448926.587231,VS0,VE360',\r\n23 silly get     vary: 'Accept',\r\n23 silly get     'content-length': '0',\r\n23 silly get     'keep-alive': 'timeout=10, max=50',\r\n23 silly get     connection: 'Keep-Alive' } ]\r\n24 verbose etag https://registry.npmjs.org/exiv2 from cache\r\n25 verbose get saving exiv2 to /home/tomino/.npm/registry.npmjs.org/exiv2/.cache.json\r\n26 silly addNameRange number 2 { name: 'exiv2', range: '*', hasData: true }\r\n27 silly addNameRange versions [ 'exiv2',\r\n27 silly addNameRange   [ '0.0.1',\r\n27 silly addNameRange     '0.1.0',\r\n27 silly addNameRange     '0.1.1',\r\n27 silly addNameRange     '0.2.0',\r\n27 silly addNameRange     '0.3.0',\r\n27 silly addNameRange     '0.4.0',\r\n27 silly addNameRange     '0.3.1',\r\n27 silly addNameRange     '0.4.1',\r\n27 silly addNameRange     '0.4.3',\r\n27 silly addNameRange     '0.5.0' ] ]\r\n28 verbose addNamed exiv2@0.5.0\r\n29 silly addNamed semver.valid 0.5.0\r\n30 silly addNamed semver.validRange 0.5.0\r\n31 silly cache afterAdd exiv2@0.5.0\r\n32 verbose afterAdd /home/tomino/.npm/exiv2/0.5.0/package/package.json not in flight; writing\r\n33 verbose afterAdd /home/tomino/.npm/exiv2/0.5.0/package/package.json written\r\n34 silly install resolved [ { author:\r\n34 silly install resolved      { name: 'Damian Beresford',\r\n34 silly install resolved        email: 'dberesford@gmail.com',\r\n34 silly install resolved        url: 'http://www.damianberesford.com/' },\r\n34 silly install resolved     name: 'exiv2',\r\n34 silly install resolved     description: 'A native c++ extension for node.js that provides support for reading & writing image metadata via Exiv2.',\r\n34 silly install resolved     version: '0.5.0',\r\n34 silly install resolved     homepage: 'https://github.com/dberesford/exiv2node',\r\n34 silly install resolved     repository:\r\n34 silly install resolved      { type: 'git',\r\n34 silly install resolved        url: 'git://github.com/dberesford/exiv2node.git' },\r\n34 silly install resolved     dependencies: { nan: '>= 1.7.0' },\r\n34 silly install resolved     devDependencies: { should: '*', mocha: '*' },\r\n34 silly install resolved     optionalDependencies: {},\r\n34 silly install resolved     engines: { node: '>= 0.9.4' },\r\n34 silly install resolved     main: 'exiv2',\r\n34 silly install resolved     scripts:\r\n34 silly install resolved      { preuninstall: 'rm -rf build/*',\r\n34 silly install resolved        test: 'mocha',\r\n34 silly install resolved        install: 'node-gyp rebuild' },\r\n34 silly install resolved     gypfile: true,\r\n34 silly install resolved     contributors: [ [Object], [Object], [Object] ],\r\n34 silly install resolved     bugs: { url: 'https://github.com/dberesford/exiv2node/issues' },\r\n34 silly install resolved     gitHead: '997830ab490334c358226a814cd85800a228dddb',\r\n34 silly install resolved     _id: 'exiv2@0.5.0',\r\n34 silly install resolved     _shasum: 'bc8ff590255dc996289b01dd6810baaaa2494787',\r\n34 silly install resolved     _from: 'exiv2@*',\r\n34 silly install resolved     _npmVersion: '2.5.1',\r\n34 silly install resolved     _nodeVersion: '0.12.0',\r\n34 silly install resolved     _npmUser: { name: 'drewish', email: 'drewish@katherinehouse.com' },\r\n34 silly install resolved     maintainers: [ [Object], [Object] ],\r\n34 silly install resolved     dist:\r\n34 silly install resolved      { shasum: 'bc8ff590255dc996289b01dd6810baaaa2494787',\r\n34 silly install resolved        tarball: 'http://registry.npmjs.org/exiv2/-/exiv2-0.5.0.tgz' },\r\n34 silly install resolved     directories: {},\r\n34 silly install resolved     _resolved: 'https://registry.npmjs.org/exiv2/-/exiv2-0.5.0.tgz',\r\n34 silly install resolved     readme: 'ERROR: No README data found!' } ]\r\n35 info install exiv2@0.5.0 into /media/win_www/imageSplitApp\r\n36 info installOne exiv2@0.5.0\r\n37 verbose installOne of exiv2 to /media/win_www/imageSplitApp not in flight; installing\r\n38 verbose lock using /home/tomino/.npm/_locks/exiv2-d2680eb748b55649.lock for /media/win_www/imageSplitApp/node_modules/exiv2\r\n39 silly install write writing exiv2 0.5.0 to /media/win_www/imageSplitApp/node_modules/exiv2\r\n40 silly cache addNamed cb exiv2@0.5.0\r\n41 verbose unbuild node_modules/exiv2\r\n42 verbose gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2\r\n43 verbose tar unpack /home/tomino/.npm/exiv2/0.5.0/package.tgz\r\n44 verbose tar unpacking to /media/win_www/imageSplitApp/node_modules/exiv2\r\n45 verbose gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2\r\n46 silly gunzTarPerm modes [ '755', '644' ]\r\n47 silly gunzTarPerm extractEntry package.json\r\n48 silly gunzTarPerm extractEntry .npmignore\r\n49 silly gunzTarPerm extractEntry README.md\r\n50 silly gunzTarPerm extractEntry LICENSE\r\n51 silly gunzTarPerm extractEntry exiv2.js\r\n52 silly gunzTarPerm extractEntry binding.gyp\r\n53 silly gunzTarPerm extractEntry AUTHORS\r\n54 silly gunzTarPerm extractEntry examples/simple.js\r\n55 silly gunzTarPerm extractEntry exiv2node.cc\r\n56 silly gunzTarPerm extractEntry .travis.yml\r\n57 silly gunzTarPerm extractEntry test/test.js\r\n58 silly gunzTarPerm extractEntry test/images/books.jpg\r\n59 silly gunzTarPerm extractEntry test/images/damien.jpg\r\n60 silly gunzTarPerm extractEntry test/mocha.opts\r\n61 info preinstall exiv2@0.5.0\r\n62 silly prepareForInstallMany adding nan@>= 1.7.0 from exiv2 dependencies\r\n63 silly cache add args [ 'nan@>= 1.7.0', null ]\r\n64 verbose cache add spec nan@>= 1.7.0\r\n65 silly cache add parsed spec { raw: 'nan@>= 1.7.0',\r\n65 silly cache add   scope: null,\r\n65 silly cache add   name: 'nan',\r\n65 silly cache add   rawSpec: '>= 1.7.0',\r\n65 silly cache add   spec: '>=1.7.0',\r\n65 silly cache add   type: 'range' }\r\n66 verbose addNamed nan@>=1.7.0\r\n67 silly addNamed semver.valid null\r\n68 silly addNamed semver.validRange >=1.7.0\r\n69 silly addNameRange { name: 'nan', range: '>=1.7.0', hasData: false }\r\n70 silly mapToRegistry name nan\r\n71 silly mapToRegistry using default registry\r\n72 silly mapToRegistry registry https://registry.npmjs.org/\r\n73 silly mapToRegistry uri https://registry.npmjs.org/nan\r\n74 verbose addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching\r\n75 verbose request uri https://registry.npmjs.org/nan\r\n76 verbose request no auth needed\r\n77 info attempt registry request try #1 at 8:48:36 PM\r\n78 verbose etag \"12EHA1PNRCCAOAQY0AIBQ9ET9\"\r\n79 http request GET https://registry.npmjs.org/nan\r\n80 http 304 https://registry.npmjs.org/nan\r\n81 silly get cb [ 304,\r\n81 silly get   { date: 'Sun, 15 Mar 2015 19:48:47 GMT',\r\n81 silly get     server: 'Apache',\r\n81 silly get     via: '1.1 varnish',\r\n81 silly get     'last-modified': 'Sun, 15 Mar 2015 19:48:47 GMT',\r\n81 silly get     'cache-control': 'max-age=60',\r\n81 silly get     etag: '\"12EHA1PNRCCAOAQY0AIBQ9ET9\"',\r\n81 silly get     age: '54',\r\n81 silly get     'x-served-by': 'cache-lhr6320-LHR',\r\n81 silly get     'x-cache': 'HIT',\r\n81 silly get     'x-cache-hits': '1',\r\n81 silly get     'x-timer': 'S1426448927.568696,VS0,VE1',\r\n81 silly get     vary: 'Accept',\r\n81 silly get     'content-length': '0',\r\n81 silly get     'keep-alive': 'timeout=10, max=50',\r\n81 silly get     connection: 'Keep-Alive' } ]\r\n82 verbose etag https://registry.npmjs.org/nan from cache\r\n83 verbose get saving nan to /home/tomino/.npm/registry.npmjs.org/nan/.cache.json\r\n84 silly addNameRange number 2 { name: 'nan', range: '>=1.7.0', hasData: true }\r\n85 silly addNameRange versions [ 'nan',\r\n85 silly addNameRange   [ '0.3.0-wip',\r\n85 silly addNameRange     '0.3.0-wip2',\r\n85 silly addNameRange     '0.3.0',\r\n85 silly addNameRange     '0.3.1',\r\n85 silly addNameRange     '0.3.2',\r\n85 silly addNameRange     '0.4.0',\r\n85 silly addNameRange     '0.4.1',\r\n85 silly addNameRange     '0.4.2',\r\n85 silly addNameRange     '0.4.3',\r\n85 silly addNameRange     '0.4.4',\r\n85 silly addNameRange     '0.5.0',\r\n85 silly addNameRange     '0.5.1',\r\n85 silly addNameRange     '0.5.2',\r\n85 silly addNameRange     '0.6.0',\r\n85 silly addNameRange     '0.7.0',\r\n85 silly addNameRange     '0.7.1',\r\n85 silly addNameRange     '0.8.0',\r\n85 silly addNameRange     '1.0.0',\r\n85 silly addNameRange     '1.1.0',\r\n85 silly addNameRange     '1.1.1',\r\n85 silly addNameRange     '1.1.2',\r\n85 silly addNameRange     '1.2.0',\r\n85 silly addNameRange     '1.3.0',\r\n85 silly addNameRange     '1.4.0',\r\n85 silly addNameRange     '1.4.1',\r\n85 silly addNameRange     '1.5.0',\r\n85 silly addNameRange     '1.4.2',\r\n85 silly addNameRange     '1.4.3',\r\n85 silly addNameRange     '1.5.1',\r\n85 silly addNameRange     '1.5.2',\r\n85 silly addNameRange     '1.6.0',\r\n85 silly addNameRange     '1.5.3',\r\n85 silly addNameRange     '1.6.1',\r\n85 silly addNameRange     '1.6.2',\r\n85 silly addNameRange     '1.7.0' ] ]\r\n86 verbose addNamed nan@1.7.0\r\n87 silly addNamed semver.valid 1.7.0\r\n88 silly addNamed semver.validRange 1.7.0\r\n89 silly cache afterAdd nan@1.7.0\r\n90 verbose afterAdd /home/tomino/.npm/nan/1.7.0/package/package.json not in flight; writing\r\n91 verbose afterAdd /home/tomino/.npm/nan/1.7.0/package/package.json written\r\n92 silly install resolved [ { name: 'nan',\r\n92 silly install resolved     version: '1.7.0',\r\n92 silly install resolved     description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',\r\n92 silly install resolved     main: 'include_dirs.js',\r\n92 silly install resolved     repository: { type: 'git', url: 'git://github.com/rvagg/nan.git' },\r\n92 silly install resolved     scripts:\r\n92 silly install resolved      { test: 'tap --gc test/js/*-test.js',\r\n92 silly install resolved        'rebuild-tests': 'pangyp rebuild --directory test' },\r\n92 silly install resolved     contributors:\r\n92 silly install resolved      [ [Object],\r\n92 silly install resolved        [Object],\r\n92 silly install resolved        [Object],\r\n92 silly install resolved        [Object],\r\n92 silly install resolved        [Object],\r\n92 silly install resolved        [Object],\r\n92 silly install resolved        [Object] ],\r\n92 silly install resolved     devDependencies:\r\n92 silly install resolved      { bindings: '~1.2.1',\r\n92 silly install resolved        'node-gyp': '~1.0.2',\r\n92 silly install resolved        pangyp: '~2.0.1',\r\n92 silly install resolved        tap: '~0.5.0',\r\n92 silly install resolved        xtend: '~4.0.0' },\r\n92 silly install resolved     license: 'MIT',\r\n92 silly install resolved     gitHead: '550efb5dde5cb6bf79db87ab48dce850e56e971a',\r\n92 silly install resolved     bugs: { url: 'https://github.com/rvagg/nan/issues' },\r\n92 silly install resolved     homepage: 'https://github.com/rvagg/nan',\r\n92 silly install resolved     _id: 'nan@1.7.0',\r\n92 silly install resolved     _shasum: '755b997404e83cbe7bc08bc3c5c56291bce87438',\r\n92 silly install resolved     _from: 'nan@>=1.7.0',\r\n92 silly install resolved     _npmVersion: '2.5.1',\r\n92 silly install resolved     _nodeVersion: '0.12.0',\r\n92 silly install resolved     _npmUser: { name: 'kkoopa', email: 'bbyholm@abo.fi' },\r\n92 silly install resolved     maintainers: [ [Object], [Object] ],\r\n92 silly install resolved     dist:\r\n92 silly install resolved      { shasum: '755b997404e83cbe7bc08bc3c5c56291bce87438',\r\n92 silly install resolved        tarball: 'http://registry.npmjs.org/nan/-/nan-1.7.0.tgz' },\r\n92 silly install resolved     directories: {},\r\n92 silly install resolved     _resolved: 'https://registry.npmjs.org/nan/-/nan-1.7.0.tgz',\r\n92 silly install resolved     readme: 'ERROR: No README data found!' } ]\r\n93 info install nan@1.7.0 into /media/win_www/imageSplitApp/node_modules/exiv2\r\n94 info installOne nan@1.7.0\r\n95 verbose installOne of nan to /media/win_www/imageSplitApp/node_modules/exiv2 not in flight; installing\r\n96 verbose lock using /home/tomino/.npm/_locks/nan-9a52ea733f606ba4.lock for /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n97 silly install write writing nan 1.7.0 to /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n98 silly cache addNamed cb nan@1.7.0\r\n99 verbose unbuild node_modules/exiv2/node_modules/nan\r\n100 verbose gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n101 verbose tar unpack /home/tomino/.npm/nan/1.7.0/package.tgz\r\n102 verbose tar unpacking to /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n103 verbose gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n104 silly gunzTarPerm modes [ '755', '644' ]\r\n105 silly gunzTarPerm extractEntry package.json\r\n106 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]\r\n107 silly gunzTarPerm extractEntry include_dirs.js\r\n108 silly gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]\r\n109 silly gunzTarPerm extractEntry LICENSE.md\r\n110 silly gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]\r\n111 silly gunzTarPerm extractEntry .dntrc\r\n112 silly gunzTarPerm modified mode [ '.dntrc', 436, 420 ]\r\n113 silly gunzTarPerm extractEntry appveyor.yml\r\n114 silly gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]\r\n115 silly gunzTarPerm extractEntry nan.h\r\n116 silly gunzTarPerm modified mode [ 'nan.h', 436, 420 ]\r\n117 silly gunzTarPerm extractEntry nan_implementation_12_inl.h\r\n118 silly gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]\r\n119 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h\r\n120 silly gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]\r\n121 silly gunzTarPerm extractEntry nan_new.h\r\n122 silly gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]\r\n123 silly gunzTarPerm extractEntry nan_string_bytes.h\r\n124 silly gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]\r\n125 silly gunzTarPerm extractEntry CHANGELOG.md\r\n126 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]\r\n127 info preinstall nan@1.7.0\r\n128 silly install resolved []\r\n129 verbose about to build /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n130 info build /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n131 verbose linkStuff [ false,\r\n131 verbose linkStuff   false,\r\n131 verbose linkStuff   false,\r\n131 verbose linkStuff   '/media/win_www/imageSplitApp/node_modules/exiv2/node_modules' ]\r\n132 info linkStuff nan@1.7.0\r\n133 verbose linkBins nan@1.7.0\r\n134 verbose linkMans nan@1.7.0\r\n135 verbose rebuildBundles nan@1.7.0\r\n136 info install nan@1.7.0\r\n137 info postinstall nan@1.7.0\r\n138 verbose unlock done using /home/tomino/.npm/_locks/nan-9a52ea733f606ba4.lock for /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\n139 verbose about to build /media/win_www/imageSplitApp/node_modules/exiv2\r\n140 info build /media/win_www/imageSplitApp/node_modules/exiv2\r\n141 verbose linkStuff [ false,\r\n141 verbose linkStuff   false,\r\n141 verbose linkStuff   false,\r\n141 verbose linkStuff   '/media/win_www/imageSplitApp/node_modules' ]\r\n142 info linkStuff exiv2@0.5.0\r\n143 verbose linkBins exiv2@0.5.0\r\n144 verbose linkMans exiv2@0.5.0\r\n145 verbose rebuildBundles exiv2@0.5.0\r\n146 verbose rebuildBundles [ 'nan' ]\r\n147 info install exiv2@0.5.0\r\n148 verbose unsafe-perm in lifecycle false\r\n149 info exiv2@0.5.0 Failed to exec install script\r\n150 verbose unlock done using /home/tomino/.npm/_locks/exiv2-d2680eb748b55649.lock for /media/win_www/imageSplitApp/node_modules/exiv2\r\n151 verbose stack Error: exiv2@0.5.0 install: `node-gyp rebuild`\r\n151 verbose stack Exit status 1\r\n151 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)\r\n151 verbose stack     at EventEmitter.emit (events.js:110:17)\r\n151 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)\r\n151 verbose stack     at ChildProcess.emit (events.js:110:17)\r\n151 verbose stack     at maybeClose (child_process.js:1008:16)\r\n151 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)\r\n152 verbose pkgid exiv2@0.5.0\r\n153 verbose cwd /media/win_www/imageSplitApp\r\n154 error Linux 3.13.0-44-generic\r\n155 error argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"exiv2\" \"--verbose\"\r\n156 error node v0.12.0\r\n157 error npm  v2.5.1\r\n158 error code ELIFECYCLE\r\n159 error exiv2@0.5.0 install: `node-gyp rebuild`\r\n159 error Exit status 1\r\n160 error Failed at the exiv2@0.5.0 install script 'node-gyp rebuild'.\r\n160 error This is most likely a problem with the exiv2 package,\r\n160 error not with npm itself.\r\n160 error Tell the author that this fails on your system:\r\n160 error     node-gyp rebuild\r\n160 error You can get their info via:\r\n160 error     npm owner ls exiv2\r\n160 error There is likely additional logging output above.\r\n161 verbose exit [ 1, true ]\r\n162 verbose unbuild node_modules/exiv2\r\n163 info preuninstall exiv2@0.5.0\r\n164 verbose unsafe-perm in lifecycle false\r\n165 info uninstall exiv2@0.5.0\r\n166 verbose unbuild rmStuff exiv2@0.5.0 from /media/win_www/imageSplitApp/node_modules\r\n167 info postuninstall exiv2@0.5.0\r\n168 verbose gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2\r\n169 silly gentlyRm purging /media/win_www/imageSplitApp/node_modules/exiv2\r\n170 silly gentlyRm quitting because other entries in /media/win_www/imageSplitApp/node_modules\r\n```\r\n\r\nConsole output (using --verbose):\r\n\r\n```\r\nnpm info it worked if it ends with ok\r\nnpm verb cli [ '/usr/local/bin/node',\r\nnpm verb cli   '/usr/local/bin/npm',\r\nnpm verb cli   'install',\r\nnpm verb cli   'exiv2',\r\nnpm verb cli   '--verbose' ]\r\nnpm info using npm@2.5.1\r\nnpm info using node@v0.12.0\r\nnpm verb cache add spec exiv2\r\nnpm verb addNamed exiv2@*\r\nnpm verb addNameRange registry:https://registry.npmjs.org/exiv2 not in flight; fetching\r\nnpm verb request uri https://registry.npmjs.org/exiv2\r\nnpm verb request no auth needed\r\nnpm info attempt registry request try #1 at 8:56:36 PM\r\nnpm verb request id cacf9beeaaeaa855\r\nnpm verb etag \"898K9H978TCX8H5NVQIC9079U\"\r\nnpm http request GET https://registry.npmjs.org/exiv2\r\nnpm http 304 https://registry.npmjs.org/exiv2\r\nnpm verb etag https://registry.npmjs.org/exiv2 from cache\r\nnpm verb get saving exiv2 to /home/tomino/.npm/registry.npmjs.org/exiv2/.cache.json\r\nnpm verb addNamed exiv2@0.5.0\r\nnpm verb afterAdd /home/tomino/.npm/exiv2/0.5.0/package/package.json not in flight; writing\r\nnpm verb afterAdd /home/tomino/.npm/exiv2/0.5.0/package/package.json written\r\nnpm info install exiv2@0.5.0 into /media/win_www/imageSplitApp\r\nnpm info installOne exiv2@0.5.0\r\nnpm verb installOne of exiv2 to /media/win_www/imageSplitApp not in flight; installing\r\nnpm verb lock using /home/tomino/.npm/_locks/exiv2-d2680eb748b55649.lock for /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm verb unbuild node_modules/exiv2\r\nnpm verb gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm verb tar unpack /home/tomino/.npm/exiv2/0.5.0/package.tgz\r\nnpm verb tar unpacking to /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm verb gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm info preinstall exiv2@0.5.0\r\nnpm verb cache add spec nan@>= 1.7.0\r\nnpm verb addNamed nan@>=1.7.0\r\nnpm verb addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching\r\nnpm verb request uri https://registry.npmjs.org/nan\r\nnpm verb request no auth needed\r\nnpm info attempt registry request try #1 at 8:56:37 PM\r\nnpm verb etag \"12EHA1PNRCCAOAQY0AIBQ9ET9\"\r\nnpm http request GET https://registry.npmjs.org/nan\r\nnpm http 304 https://registry.npmjs.org/nan\r\nnpm verb etag https://registry.npmjs.org/nan from cache\r\nnpm verb get saving nan to /home/tomino/.npm/registry.npmjs.org/nan/.cache.json\r\nnpm verb addNamed nan@1.7.0\r\nnpm verb afterAdd /home/tomino/.npm/nan/1.7.0/package/package.json not in flight; writing\r\nnpm verb afterAdd /home/tomino/.npm/nan/1.7.0/package/package.json written\r\nnpm info install nan@1.7.0 into /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm info installOne nan@1.7.0\r\nnpm verb installOne of nan to /media/win_www/imageSplitApp/node_modules/exiv2 not in flight; installing\r\nnpm verb lock using /home/tomino/.npm/_locks/nan-9a52ea733f606ba4.lock for /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\nnpm verb unbuild node_modules/exiv2/node_modules/nan\r\nnpm verb gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\nnpm verb tar unpack /home/tomino/.npm/nan/1.7.0/package.tgz\r\nnpm verb tar unpacking to /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\nnpm verb gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\nnpm info preinstall nan@1.7.0\r\nnpm verb about to build /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\nnpm info build /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\nnpm verb linkStuff [ false,\r\nnpm verb linkStuff   false,\r\nnpm verb linkStuff   false,\r\nnpm verb linkStuff   '/media/win_www/imageSplitApp/node_modules/exiv2/node_modules' ]\r\nnpm info linkStuff nan@1.7.0\r\nnpm verb linkBins nan@1.7.0\r\nnpm verb linkMans nan@1.7.0\r\nnpm verb rebuildBundles nan@1.7.0\r\nnpm info install nan@1.7.0\r\nnpm info postinstall nan@1.7.0\r\nnpm verb unlock done using /home/tomino/.npm/_locks/nan-9a52ea733f606ba4.lock for /media/win_www/imageSplitApp/node_modules/exiv2/node_modules/nan\r\nnpm verb about to build /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm info build /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm verb linkStuff [ false,\r\nnpm verb linkStuff   false,\r\nnpm verb linkStuff   false,\r\nnpm verb linkStuff   '/media/win_www/imageSplitApp/node_modules' ]\r\nnpm info linkStuff exiv2@0.5.0\r\nnpm verb linkBins exiv2@0.5.0\r\nnpm verb linkMans exiv2@0.5.0\r\nnpm verb rebuildBundles exiv2@0.5.0\r\nnpm verb rebuildBundles [ 'nan' ]\r\nnpm info install exiv2@0.5.0\r\n\r\n> exiv2@0.5.0 install /media/win_www/imageSplitApp/node_modules/exiv2\r\n> node-gyp rebuild\r\n\r\ngyp info it worked if it ends with ok\r\ngyp verb cli [ 'node',\r\ngyp verb cli   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',\r\ngyp verb cli   'rebuild' ]\r\ngyp info using node-gyp@1.0.2\r\ngyp info using node@0.12.0 | linux | x64\r\ngyp verb command rebuild []\r\ngyp verb command clean []\r\ngyp verb clean removing \"build\" directory\r\ngyp verb command configure []\r\ngyp verb check python checking for Python executable \"python\" in the PATH\r\ngyp verb `which` succeeded python /usr/bin/python\r\ngyp verb check python version `python -c \"import platform; print(platform.python_version());\"` returned: \"2.7.3\\n\"\r\ngyp verb get node dir no --target version specified, falling back to host node version: v0.12.0\r\ngyp verb command install [ 'v0.12.0' ]\r\ngyp verb install input version string \"v0.12.0\"\r\ngyp verb install installing version: 0.12.0\r\ngyp verb install --ensure was passed, so won't reinstall if already installed\r\ngyp verb install version is already installed, need to check \"installVersion\"\r\ngyp verb got \"installVersion\" 9\r\ngyp verb needs \"installVersion\" 9\r\ngyp verb install version is good\r\ngyp verb get node dir target node version installed: 0.12.0\r\ngyp verb build dir attempting to create \"build\" dir: /media/win_www/imageSplitApp/node_modules/exiv2/build\r\ngyp ERR! configure error\r\ngyp ERR! stack Error: EACCES, mkdir '/media/win_www/imageSplitApp/node_modules/exiv2/build'\r\ngyp ERR! stack     at Error (native)\r\ngyp ERR! System Linux 3.13.0-44-generic\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /media/win_www/imageSplitApp/node_modules/exiv2\r\ngyp ERR! node -v v0.12.0\r\ngyp ERR! node-gyp -v v1.0.2\r\ngyp ERR! not ok\r\nnpm verb unsafe-perm in lifecycle false\r\nnpm info exiv2@0.5.0 Failed to exec install script\r\nnpm verb unlock done using /home/tomino/.npm/_locks/exiv2-d2680eb748b55649.lock for /media/win_www/imageSplitApp/node_modules/exiv2\r\nnpm verb stack Error: exiv2@0.5.0 install: `node-gyp rebuild`\r\nnpm verb stack Exit status 1\r\nnpm verb stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)\r\nnpm verb stack     at EventEmitter.emit (events.js:110:17)\r\nnpm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)\r\nnpm verb stack     at ChildProcess.emit (events.js:110:17)\r\nnpm verb stack     at maybeClose (child_process.js:1008:16)\r\nnpm verb stack     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)\r\nnpm verb pkgid exiv2@0.5.0\r\nnpm verb cwd /media/win_www/imageSplitApp\r\nnpm ERR! Linux 3.13.0-44-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"exiv2\" \"--verbose\"\r\nnpm ERR! node v0.12.0\r\nnpm ERR! npm  v2.5.1\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! exiv2@0.5.0 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the exiv2@0.5.0 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the exiv2 package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls exiv2\r\nnpm ERR! There is likely additional logging output above.\r\nnpm verb exit [ 1, true ]\r\nnpm verb unbuild node_modules/exiv2\r\nnpm info preuninstall exiv2@0.5.0\r\n\r\n> exiv2@0.5.0 preuninstall /media/win_www/imageSplitApp/node_modules/exiv2\r\n> rm -rf build/*\r\n\r\nnpm verb unsafe-perm in lifecycle false\r\nnpm info uninstall exiv2@0.5.0\r\nnpm verb unbuild rmStuff exiv2@0.5.0 from /media/win_www/imageSplitApp/node_modules\r\nnpm info postuninstall exiv2@0.5.0\r\nnpm verb gentlyRm vacuuming /media/win_www/imageSplitApp/node_modules/exiv2\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /media/win_www/imageSplitApp/npm-debug.log\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dberesford/exiv2node/issues/comments/81258322","html_url":"https://github.com/dberesford/exiv2node/issues/33#issuecomment-81258322","issue_url":"https://api.github.com/repos/dberesford/exiv2node/issues/33","id":81258322,"user":{"login":"Tomino2112","id":1140217,"avatar_url":"https://avatars.githubusercontent.com/u/1140217?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomino2112","html_url":"https://github.com/Tomino2112","followers_url":"https://api.github.com/users/Tomino2112/followers","following_url":"https://api.github.com/users/Tomino2112/following{/other_user}","gists_url":"https://api.github.com/users/Tomino2112/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomino2112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomino2112/subscriptions","organizations_url":"https://api.github.com/users/Tomino2112/orgs","repos_url":"https://api.github.com/users/Tomino2112/repos","events_url":"https://api.github.com/users/Tomino2112/events{/privacy}","received_events_url":"https://api.github.com/users/Tomino2112/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T22:04:08Z","updated_at":"2015-03-15T22:04:08Z","body":"This is with sudo"}}