[Pkg-javascript-devel] Bug#850419: Bug#850419: Local installation seems needed
Jonas Smedegaard
jonas at jones.dk
Fri Jan 6 16:41:03 UTC 2017
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?
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20170106/1d360396/attachment.sig>
More information about the Pkg-javascript-devel
mailing list