Your message dated Thu, 13 Sep 2018 19:48:19 +0530
with message-id <1ac0ed8e-8ebe-55b9-7a60-b6a51d15d...@onenetbeyond.org>
and subject line Re: [Pkg-javascript-devel] Bug#908762: npm: Missing 
dependency: node-readable-stream
has caused the Debian Bug report #908762,
regarding npm: Missing dependency: node-readable-stream
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
908762: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908762
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: npm
Version: 5.8.0+ds-3
Severity: grave
Tags: patch

Dear Maintainer,

while trying to install a bunch of Node packages demanded by a valid
package.json, npm gives me error message "Cannot find module
'readable-stream'". Here's the npm logfile:

,----
| 0 info it worked if it ends with ok
| 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install' ]
| 2 info using npm@5.8.0
| 3 info using node@v8.11.2
| 4 verbose stack Error: Cannot find module 'readable-stream'
| 4 verbose stack     at Function.Module._resolveFilename
| (module.js:547:15)
| 4 verbose stack     at Function.Module._load (module.js:474:25)
| 4 verbose stack     at Module.require (module.js:596:17)
| 4 verbose stack     at require (internal/module.js:11:18)
| 4 verbose stack     at Object.<anonymous>
| 
(/usr/share/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/index.js:1:76)
| 4 verbose stack     at Module._compile (module.js:652:30)
| 4 verbose stack     at Object.Module._extensions..js (module.js:663:10)
| 4 verbose stack     at Module.load (module.js:565:32)
| 4 verbose stack     at tryModuleLoad (module.js:505:12)
| 4 verbose stack     at Function.Module._load (module.js:497:3)
| 4 verbose stack     at Module.require (module.js:596:17)
| 4 verbose stack     at require (internal/module.js:11:18)
| 4 verbose stack     at Object.<anonymous>
| 
(/usr/share/npm/node_modules/cacache/node_modules/mississippi/node_modules/pumpify/index.js:3:17)
| 4 verbose stack     at Module._compile (module.js:652:30)
| 4 verbose stack     at Object.Module._extensions..js (module.js:663:10)
| 4 verbose stack     at Module.load (module.js:565:32)
| 5 verbose cwd /home/bengen/src/deb/grr/node-modules
| 6 verbose Linux 4.17.0-0.bpo.3-amd64
| 7 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
| 8 verbose node v8.11.2
| 9 verbose npm  v5.8.0
| 10 error code MODULE_NOT_FOUND
| 11 error Cannot find module 'readable-stream'
| 12 verbose exit [ 1, true ]
`----

Installing node-readable-stream fixes this for me, so here's a patch.

Cheers,
-Hilko
>From f0817f5de0e66a2dad5258578f550b200c69e7fe Mon Sep 17 00:00:00 2001
From: Hilko Bengen <ben...@debian.org>
Date: Thu, 13 Sep 2018 16:07:52 +0200
Subject: [PATCH] Add readable-stream dependency

---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index a191fff..564de80 100644
--- a/debian/control
+++ b/debian/control
@@ -150,6 +150,7 @@ Depends: nodejs,
  node-performance-now,
  node-promise-inflight,
  node-read,
+ node-readable-stream,
  node-read-package-json (>= 1.1.0),
  node-request (>= 2.25.0),
  node-retry,
-- 
2.18.0


--- End Message ---
--- Begin Message ---
fixed 908762 5.8.0+ds1-1

thanks

The idea was to remove readable-stream dependency so its easy to
backport to stretch, but I missed removing the dependency from embedded
modules in previous upload, which was fixed in last upload.

--- End Message ---
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to