[Pkg-javascript-devel] Bug#974587: Re: node-uuid: Bad "exports"

Debian BTS debbugs at buxtehude.debian.org
Mon Dec 7 17:33:07 GMT 2020


field?
Reply-To: Pirate Praveen <praveen at onenetbeyond.org>, 974587 at bugs.debian.org
Resent-From: Pirate Praveen <praveen at onenetbeyond.org>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
X-Loop: owner at bugs.debian.org
Resent-Date: Mon, 07 Dec 2020 17:33:06 +0000
Resent-Message-ID: <handler.974587.B974587.160736227425330 at bugs.debian.org>
Resent-Sender: owner at bugs.debian.org
X-Debian-PR-Message: followup 974587
X-Debian-PR-Package: node-uuid
X-Debian-PR-Keywords: 
References: <160519471462.3873141.4025981554022641943.reportbug at deb007.xnr.fr>
X-Debian-PR-Source: node-uuid
Received: via spool by 974587-submit at bugs.debian.org id=B974587.160736227425330
          (code B ref 974587); Mon, 07 Dec 2020 17:33:06 +0000
Received: (at 974587) by bugs.debian.org; 7 Dec 2020 17:31:14 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RERE,
	SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 148; neutral, 61; spammy,
	2. spammytokens:0.997-+--Visit, 0.961-+--visit
	hammytokens:0.000-+--H*F:U*praveen, 0.000-+--H*rp:U*praveen,
	0.000-+--H*F:D*onenetbeyond.org, 0.000-+--H*rp:D*onenetbeyond.org,
	0.000-+--onenetbeyond.org
Received: from latitanza.investici.org ([82.94.249.234]:30039)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <praveen at onenetbeyond.org>)
	id 1kmKLx-0006Zw-Kf
	for 974587 at bugs.debian.org; Mon, 07 Dec 2020 17:31:14 +0000
Received: from mx3.investici.org (unknown [127.0.0.1])
	by latitanza.investici.org (Postfix) with ESMTP id 4CqVhs1kWvz8sh9;
	Mon,  7 Dec 2020 17:31:09 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onenetbeyond.org;
	s=stigmate; t=1607362269;
	bh=3jhpZGwkvMV5yKNlQjTKKlqBmM8psvCdPIUDFldKbUM=;
	h=Date:From:Subject:To:Cc:From;
	b=b379OpEOA0C8j1tIue7eGtm9HFlG9Epe6lRe509sBCqI+BVZLIA6pong49/zYbV7B
	 8RRSDl6jvcryimupracvtD/MucHOhwFwV8Na0vHWq8tIXIjSzSp/8tI1ptEKh7z/gE
	 IBDwd972FdJ4+jnwMI1iJIg9xxIpjs9a3yaMls4M=
Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: praveen at onenetbeyond.org) by localhost (Postfix) with ESMTPSA id 4CqVhq0nGcz8sh7;
	Mon,  7 Dec 2020 17:31:06 +0000 (UTC)
Date: Mon, 07 Dec 2020 23:00:56 +0530
From: Pirate Praveen <praveen at onenetbeyond.org>
To: 974587 at bugs.debian.org
Cc: Xavier <yadd at debian.org>
Message-Id: <KNCZKQ.364ED5DGWVS3 at onenetbeyond.org>
X-Mailer: geary/3.36.2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On Mon, 07 Dec 2020 17:41:12 +0100 "Xavier" <yadd at debian.org> wrote:
 > I suspect uuid itself, even following doc, i've some errors.

I found a way to reproduce this,

(debian-sid)pravi at ilvala2:/tmp$ mkdir global-modules
(debian-sid)pravi at ilvala2:/tmp$ cd global-modules/
(debian-sid)pravi at ilvala2:/tmp/global-modules$ yarnpkg add uuid
yarn add v1.22.4
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
=E2=94=94=E2=94=80 uuid at 8.3.1
info All dependencies
=E2=94=94=E2=94=80 uuid at 8.3.1
Done in 2.09s.
(debian-sid)pravi at ilvala2:/tmp/global-modules$ cd ..
(debian-sid)pravi at ilvala2:/tmp$ mkdir project1
(debian-sid)pravi at ilvala2:/tmp$ cd project1/
(debian-sid)pravi at ilvala2:/tmp/project1$ export=20
NODE_PATH=3D/tmp/global-modules/node_modules/
(debian-sid)pravi at ilvala2:/tmp/project1$ yarnpkg add pretty-ms
yarn add v1.22.4
info No lockfile found.
[1/4] Resolving packages...
error An unexpected error occurred: "Package subpath './v4' is not=20
defined by \"exports\" in=20
/tmp/global-modules/node_modules/uuid/package.json".
info If you think this is a bug, please open a bug report with the=20
information provided in "/tmp/project1/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about=20
this command.
(debian-sid)pravi at ilvala2:/tmp/project1$

So when uuid 8 is in the NODE_PATH, it conflicts with node-request=20
which needs older version of uuid.

$ aptitude why node-uuid
i yarnpkg Depends node-request (>=3D 2.87.0)
i A node-request Depends node-uuid

So if we fix node-request to work with newer uuid or probably remove=20
the dependency on node-request in yarnpkg, I hope we can fix this issue.



More information about the Pkg-javascript-devel mailing list