Skip to content

Instantly share code, notes, and snippets.

@jasonm
Last active October 13, 2016 21:12
Show Gist options
  • Save jasonm/2fb3f65f63e49030493a60ef9ded8551 to your computer and use it in GitHub Desktop.
Save jasonm/2fb3f65f63e49030493a60ef9ded8551 to your computer and use it in GitHub Desktop.
0s /tmp/testapp $ uname -a
Darwin Jasons-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
0s /tmp/testapp $ clang --version
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
0s /tmp/testapp $ nvm install 6.2.2
Downloading https://nodejs.org/dist/v6.2.2/node-v6.2.2-darwin-x64.tar.xz...
######################################################################## 100.0%
WARNING: checksums are currently disabled for node.js v4.0 and later
Now using node v6.2.2 (npm v3.9.5)
17s /tmp/testapp $ rm -rf node_modules/
0s /tmp/testapp $ npm install pngquant-bin
> pngquant-bin@3.1.1 postinstall /private/tmp/testapp/node_modules/pngquant-bin
> node lib/install.js
module.js:442
throw err;
^
Error: Cannot find module './src/init'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/private/tmp/testapp/node_modules/gulp-sourcemaps/index.js:4:9)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
npm WARN enoent ENOENT: no such file or directory, open '/private/tmp/testapp/package.json'
npm WARN testapp No description
npm WARN testapp No repository field.
npm WARN testapp No README data
npm WARN testapp No license field.
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/jason/.nvm/versions/node/v6.2.2/bin/node" "/Users/jason/.nvm/versions/node/v6.2.2/bin/npm" "install" "pngquant-bin"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! pngquant-bin@3.1.1 postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pngquant-bin@3.1.1 postinstall script 'node lib/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 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! /private/tmp/testapp/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment