-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not compatible with node v6 #7
Comments
When trying to fix this, #6 will happen. |
Thanks @tomhatzer I'll take a look |
Getting the same issue. Not in any way shape or form hassling (!) but, I was wondering if you had any news on this @firetix? Only so as I can explore alternatives if needs be. Seems to me that [email protected] / [email protected] etc are out of date? Or I am way off the mark? Thanks in advance! |
I am having the same issue on node v6.10.0:
Error: throw new TypeError('Path must be a string. Received ' + inspect(path)); |
Any updates on this? |
Is this possibly just a matter of switching from See this comment: imagemin/imagemin#228 (comment) |
I did switch image-min to imagemin. @jdunk you can see on the https://github.com/imagemin/imagemin repository that they don't support v6 of node. if you guys have another solution let me know |
path.js:7
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received { url: 'https://raw.github.com/imagemin/gifsicle-bin/v0.1.7/vendor/osx/gifsicle',
name: 'gifsicle',
os: 'darwin' }
at assertPath (path.js:7:11)
at Object.basename (path.js:1355:5)
at /Users/vasap/proj/node_modules/download/index.js:35:43
at each (/Users/vasap/proj/node_modules/each-async/each-async.js:63:4)
at module.exports (/Users/vasap/proj/node_modules/download/index.js:33:5)
at /Users/vasap/proj/node_modules/bin-wrapper/index.js:108:20
at /Users/vasap/proj/node_modules/bin-wrapper/index.js:141:24
at /Users/vasap/proj/node_modules/bin-check/index.js:30:20
at /Users/vasap/proj/node_modules/executable/index.js:39:20
at FSReqWrap.oncomplete (fs.js:123:15)
path.js:7
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received { url: 'https://raw.github.com/imagemin/optipng-bin/v0.3.11/vendor/osx/optipng',
name: 'optipng',
os: 'darwin' }
at assertPath (path.js:7:11)
at Object.basename (path.js:1355:5)
at /Users/vasap/proj/node_modules/download/index.js:35:43
at each (/Users/vasap/proj/node_modules/each-async/each-async.js:63:4)
at module.exports (/Users/vasap/proj/node_modules/download/index.js:33:5)
at /Users/vasap/proj/node_modules/bin-wrapper/index.js:108:20
at /Users/vasap/proj/node_modules/bin-wrapper/index.js:141:24
at /Users/vasap/proj/node_modules/bin-check/index.js:30:20
at /Users/vasap/proj/node_modules/executable/index.js:39:20
at FSReqWrap.oncomplete (fs.js:123:15)
[email protected] /Users/vasap/proj
The text was updated successfully, but these errors were encountered: