gruntjs / grunt-cli

Grunt's command line interface.
http://gruntjs.com/
MIT License
706 stars 248 forks source link

buffer encoding conversion is failing #110

Closed pravi closed 7 years ago

pravi commented 7 years ago

see https://github.com/gruntjs/grunt-cli/issues/10#issuecomment-260168614 for the background.

This is a globally installed grunt (installed by debian package with #55). But I doubt the error is not related to global installation, so I thought of creating an issue here.

Commenting out the encoding conversion part fixes the issue, see https://anonscm.debian.org/cgit/pkg-javascript/grunt.git/tree/debian/patches/remove-encoding-conversion.patch

shama commented 7 years ago

Could you provide instructions on how to reproduce the problem and why you think it is caused by this library?

pravi commented 7 years ago

@shama sorry, this should have been filed against grunt and not grunt-cli. But the issue was caused by a bug in iconv-lite package in debian (it did not install all the required files as its package.json did not have a files section). See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844333