> [email protected] postinstall /private/tmp/pngqtest/node_modules/pngquant-bin
> node lib/check.js
Downloading pngquant: 14%
0 passing (296ms)
4 failing
1) pngquant should return path to pngquant binary:
Uncaught
AssertionError: false == true
at args (/private/tmp/pngqtest/node_modules/pngquant-bin/test/test-path.js:17:4)
at ChildProcess.exithandler (child_process.js:540:7)
at ChildProcess.EventEmitter.emit (events.js:91:17)
at maybeClose (child_process.js:634:16)
at Socket.ChildProcess.spawn.stdin (child_process.js:806:11)
at Socket.EventEmitter.emit (events.js:88:17)
at Socket._destroy.destroyed (net.js:356:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
2) pngquant should successfully proxy pngquant:
Uncaught
AssertionError: false == true
at args (/private/tmp/pngqtest/node_modules/pngquant-bin/test/test-path.js:26:4)
at ChildProcess.exithandler (child_process.js:534:7)
at ChildProcess.EventEmitter.emit (events.js:91:17)
at maybeClose (child_process.js:634:16)
at Socket.ChildProcess.spawn.stdin (child_process.js:806:11)
at Socket.EventEmitter.emit (events.js:88:17)
at Socket._destroy.destroyed (net.js:356:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
3) pngquant should minify a .png:
Uncaught Error: ENOENT, no such file or directory 'test/fixtures/test-fs8.png'
at Object.fs.statSync (fs.js:524:18)
at /private/tmp/pngqtest/node_modules/pngquant-bin/test/test-path.js:38:20
at ChildProcess.exithandler (child_process.js:534:7)
at ChildProcess.EventEmitter.emit (events.js:91:17)
at maybeClose (child_process.js:634:16)
at Socket.ChildProcess.spawn.stdin (child_process.js:806:11)
at Socket.EventEmitter.emit (events.js:88:17)
at Socket._destroy.destroyed (net.js:356:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
4) pngquant "after all" hook:
Error: ENOENT, no such file or directory 'test/fixtures/test-fs8.png'
at Object.fs.unlinkSync (fs.js:582:18)
at Context.binPath (/private/tmp/pngqtest/node_modules/pngquant-bin/test/test-path.js:10:6)
at Hook.Runnable.run (/private/tmp/pngqtest/node_modules/pngquant-bin/node_modules/mocha/lib/runnable.js:211:32)
at next (/private/tmp/pngqtest/node_modules/pngquant-bin/node_modules/mocha/lib/runner.js:246:10)
at Runner.hook (/private/tmp/pngqtest/node_modules/pngquant-bin/node_modules/mocha/lib/runner.js:258:5)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
✗ pre-build test failed, compiling from source...
Downloading 1.8.4.tar.gz: 100%
✗ Command failed: install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make: *** [install] Error 64
[email protected] node_modules/pngquant-bin
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])