[Pkg-javascript-devel] Bug#892227: Bug#892227: node-backbone: dependencies fail to resolve when jQuery not installed

Jonas Smedegaard jonas at jones.dk
Wed Mar 7 06:41:50 UTC 2018


Quoting Ben Finney (2018-03-07 02:51:55)
> On 07-Mar-2018, Jonas Smedegaard wrote:
> > Quoting Ben Finney (2018-03-07 01:04:19)
> > > $ cat ./source/foo.js
> > > "use strict";
> > > import 'backbone';
> > > 
> > > So the Debian package dependencies are all satisfied, but these are
> > > not sufficient for Webpack to resolve the Backbone dependencies.
> > 
> > Backbone by design avoids dependency on jQuery.
> 
> And yet, a very simple application that *only* requests ‘backbone’
> will fail to build with Webpack because Backbone tries to find jQuery.
> 
> In other words: The expectation is that installing Debian packages
> ‘webpack’ ands ‘node-backbone’ should allow the above application to
> build with Webpack.
> 
> So, something is wrong with the Debian Backbone, or the Debian
> Webpack, or something else.

I slept on it, and realized this morning¹ that you are right: This is a 
bug in Debian packaging of Backbone: It should recommend node-jquery.

Similarly it should recommend node-underscore | node-lodash.

I will make that happen. Thanks!


 - Jonas


¹ ...before reading your reply above, but that helps too: Your emails 
are in general easy to comprehend and quite often enlightening. Thanks!

-- 
 * 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/20180307/e751db67/attachment.sig>


More information about the Pkg-javascript-devel mailing list