Skip to content

Instantly share code, notes, and snippets.

@jasonm
Created October 13, 2016 21:15
Show Gist options
  • Save jasonm/6f39fed992e357e3960eb29ed4fdbd62 to your computer and use it in GitHub Desktop.
Save jasonm/6f39fed992e357e3960eb29ed4fdbd62 to your computer and use it in GitHub Desktop.
ubuntu@schools1:/tmp/testapp$ node --version
v0.10.38
ubuntu@schools1:/tmp/testapp$ npm --version
2.14.21
ubuntu@schools1:/tmp/testapp$ uname -a
Linux schools1.development 3.13.0-93-generic #140-Ubuntu SMP Mon Jul 18 21:21:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@schools1:/tmp/testapp$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ubuntu@schools1:/tmp/testapp$ clang --version
WARNING:root:could not open file '/etc/apt/sources.list.d/trusty-multiverse.list'
The program 'clang' can be found in the following packages:
* clang-3.3
* clang-3.4
* clang-3.5
Try: sudo apt-get install <selected package>
ubuntu@schools1:/tmp/testapp$ npm install pngquant-bin
npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.38","npm":"2.14.21"})
npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.38","npm":"2.14.21"})
/
> pngquant-bin@3.1.1 postinstall /tmp/node_modules/pngquant-bin
> node lib/install.js
module.js:340
throw err;
^
Error: Cannot find module './src/init'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/tmp/node_modules/pngquant-bin/node_modules/bin-build/node_modules/decompress/node_modules/vinyl-fs/node_modules/gulp-sourcemaps/index.js:4:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
npm ERR! Linux 3.13.0-93-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install" "pngquant-bin"
npm ERR! node v0.10.38
npm ERR! npm v2.14.21
npm ERR! code ELIFECYCLE
npm ERR! pngquant-bin@3.1.1 postinstall: `node lib/install.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the pngquant-bin@3.1.1 postinstall script 'node lib/install.js'.
npm ERR! This is most likely a problem with the pngquant-bin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pngquant-bin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls pngquant-bin
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/testapp/npm-debug.log
ubuntu@schools1:/tmp/testapp$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment