[Pkg-javascript-devel] Bug#850419: Bug#850419: Bug#850419: Local installation seems needed
Bastien ROUCARIES
roucaries.bastien at gmail.com
Fri Jan 6 17:39:39 UTC 2017
On Fri, Jan 6, 2017 at 5:41 PM, Jonas Smedegaard <jonas at jones.dk> wrote:
> Quoting Pirate Praveen (2017-01-06 17:12:29)
>> Control: severity -1 important
>>
>> On വെള്ളി 06 ജനുവരി 2017 04:07 വൈകു, Bastien ROUCARIES wrote:
>> > Using grunt for node-sprintf-js I get
>> >
>> > Fatal error: Unable to find local grunt.
>> >
>> > If you're seeing this message, grunt hasn't been installed locally to
>> > your project. For more information about installing and configuring grunt,
>> > please see the Getting Started guide:
>> >
>> > http://gruntjs.com/getting-started
>> >
>> > Thus it unusable
>> >
>>
>> This is the default behavior of grunt and the upstream is unwilling to
>> change this behaviour. To use it for building packages in debian, you
>> have to patch Gruntfile.js.
>>
>> Patches welcome to make grunt look for global tasks by default. You can
>> see packages like node-fuzzaldrin-plus for the patch.
>>
>> https://anonscm.debian.org/cgit/pkg-javascript/node-fuzzaldrin-plus.git/tree/debian/patches/use-global-tasks.patch
>
> How about patching the error message, as an intermediary step?
How about adding an option --global to make grunt global
>
> - Jonas
>
> --
> * Jonas Smedegaard - idealist & Internet-arkitekt
> * Tlf.: +45 40843136 Website: http://dr.jones.dk/
>
> [x] quote me freely [ ] ask before reusing [ ] keep private
>
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
More information about the Pkg-javascript-devel
mailing list