-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Republished v0.5.10 fails to install with node 0.10.x.
/tmp/zipfile-test$ rm -rf node_modules/
/tmp/zipfile-test$ node -v
v0.10.46
/tmp/zipfile-test$ npm -v
2.14.22
/tmp/zipfile-test$ npm install [email protected]
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
-
> [email protected] install /private/tmp/zipfile-test/node_modules/zipfile
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack Error: Cannot find module 'mkdirp'
node-pre-gyp ERR! stack at Function.Module._resolveFilename (module.js:338:15)
node-pre-gyp ERR! stack at Function.Module._load (module.js:280:25)
node-pre-gyp ERR! stack at Module.require (module.js:364:17)
node-pre-gyp ERR! stack at require (module.js:380:17)
node-pre-gyp ERR! stack at Object.<anonymous> (/private/tmp/zipfile-test/node_modules/zipfile/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/writer.js:6:13)
node-pre-gyp ERR! stack at Module._compile (module.js:456:26)
node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:474:10)
node-pre-gyp ERR! stack at Module.load (module.js:356:32)
node-pre-gyp ERR! stack at Function.Module._load (module.js:312:12)
node-pre-gyp ERR! stack at Module.require (module.js:364:17)
node-pre-gyp ERR! System Darwin 15.6.0
node-pre-gyp ERR! command "node" "/private/tmp/zipfile-test/node_modules/zipfile/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /private/tmp/zipfile-test/node_modules/zipfile
node-pre-gyp ERR! node -v v0.10.46
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR! <https://github.com/mapbox/node-pre-gyp/issues>
npm ERR! Darwin 15.6.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "[email protected]"
npm ERR! node v0.10.46
npm ERR! npm v2.14.22
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the zipfile package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs zipfile
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls zipfile
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/zipfile-test/npm-debug.log
/tmp/zipfile-test$ npm install [email protected]
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
-
> [email protected] install /private/tmp/zipfile-test/node_modules/zipfile
> node-pre-gyp install --fallback-to-build
[zipfile] Success: "/private/tmp/zipfile-test/node_modules/zipfile/lib/binding/node-v11-darwin-x64/zipfile.node" is installed via remote
[email protected] node_modules/zipfile
└── [email protected]
Same for a Linux machine:
/tmp/zipfile-test$ npm install [email protected]
|
> [email protected] install /tmp/zipfile-test/node_modules/zipfile
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack Error: Cannot find module 'mkdirp'
node-pre-gyp ERR! stack at Function.Module._resolveFilename (module.js:338:15)
node-pre-gyp ERR! stack at Function.Module._load (module.js:280:25)
node-pre-gyp ERR! stack at Module.require (module.js:364:17)
node-pre-gyp ERR! stack at require (module.js:380:17)
node-pre-gyp ERR! stack at Object.<anonymous> (/tmp/zipfile-test/node_modules/zipfile/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/lib/writer.js:6:13)
node-pre-gyp ERR! stack at Module._compile (module.js:456:26)
node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:474:10)
node-pre-gyp ERR! stack at Module.load (module.js:356:32)
node-pre-gyp ERR! stack at Function.Module._load (module.js:312:12)
node-pre-gyp ERR! stack at Module.require (module.js:364:17)
node-pre-gyp ERR! System Linux 3.13.0-32-generic
node-pre-gyp ERR! command "node" "/tmp/zipfile-test/node_modules/zipfile/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /tmp/zipfile-test/node_modules/zipfile
node-pre-gyp ERR! node -v v0.10.26
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR! <https://github.com/mapbox/node-pre-gyp/issues>
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "node" "/usr/bin/npm" "install" "[email protected]"
npm ERR! node v0.10.26
npm ERR! npm v2.14.16
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the zipfile package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs zipfile
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls zipfile
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/zipfile-test/npm-debug.log
/tmp/zipfile-test$ npm install [email protected]
-
> [email protected] install /tmp/zipfile-test/node_modules/zipfile
> node-pre-gyp install --fallback-to-build
[zipfile] Success: "/tmp/zipfile-test/node_modules/zipfile/lib/binding/node-v11-linux-x64/zipfile.node" is installed via remote
[email protected] node_modules/zipfile
└── [email protected]
It installs OK when installing it with:
$ node -v
v6.9.2
$ npm -v
3.10.9
Metadata
Metadata
Assignees
Labels
No labels