[Pkg-javascript-devel] using packaged grunt (globally installed grunt)
Shanavas M
shanavas at disroot.org
Mon Nov 14 14:41:10 UTC 2016
On 11/13/2016 09:30 PM, Pirate Praveen wrote:
> On Saturday 12 November 2016 04:31 PM, Pirate Praveen wrote:
>> Hi,
>>
>> Using globally installed grunt is not supported upstream (see
>> https://github.com/gruntjs/grunt-cli/issues/10). With
>> https://github.com/gruntjs/grunt-cli/pull/55 patch, I was able to ignore
>> the error but it fails to read package.json now
>>
>> $ grunt
>> Loading "Gruntfile.js" tasks...ERROR
>>>> Error: Unable to read "package.json" file (Error code: MODULE_NOT_FOUND).
>> Warning: Task "default" not found. Use --force to continue.
>>
>> Aborted due to warnings.
>>
>> Can someone help fix this? (you'll have to build grunt from alioth as it
>> is still in NEW).
> After a whole day of troubleshooting, I found the issue was with
> encoding conversion. The patch remove-encoding-conversion.patch in
> alioth fixes this error. I'd like someone to review it before I upload it.
>
>
The issue lies in node-iconv-lite package. Source directories
`encodings` and `generation` are not included in debian package. npm2deb
skips it as those directories are not mentioned in package.json.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20161114/a90b8b08/attachment.html>
More information about the Pkg-javascript-devel
mailing list