[Pkg-javascript-devel] Bug#794890: npm: new upstream version

Michael Prokop mika at debian.org
Tue Nov 15 22:06:13 UTC 2016


Hi,

* Benjamin Menant [Wed Jul 13, 2016 at 07:29:40PM +0200]:

> The dependencies algorithm has changed from npm 2 and 3 <
> https://docs.npmjs.com/how-npm-works/npm3> and the npm 1 registry is sort
> of officially broken, as mentioned here: <
> https://github.com/npm/npm/blob/1.4.x/CHANGELOG.md>.

> This package is totally out of date, merely unusable.

The same npm package version 1.4.21+ds-2 is present in jessie,
testing and unstable with its latest upload dating back to 2014. :-/

When having to use "@module/names" the npm tool as present in Debian
fails:

,---- [ npm as present on Debian stretch ]
| # npm i @xmpp/streamparser
| npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/xmpp/streamparser) undefined
| npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/xmpp/streamparser) undefined
| npm WARN `git config --get remote.origin.url` returned wrong result (git at github.com:xmpp/streamparser) undefined
| npm WARN `git config --get remote.origin.url` returned wrong result (git at github.com:xmpp/streamparser) undefined
| npm ERR! git clone git at github.com:xmpp/streamparser undefined
| npm ERR! git clone git at github.com:xmpp/streamparser undefined
| npm ERR! addLocal Could not install xmpp/streamparser
| npm ERR! Error: ENOENT: no such file or directory, stat 'xmpp/streamparser'
| npm ERR!     at Error (native)
| npm ERR! If you need help, you may report this *entire* log,
| npm ERR! including the npm and node versions, at:
| npm ERR!     <http://github.com/npm/npm/issues>
|
| npm ERR! System Linux 4.7.0-0.bpo.1-amd64
| npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i" "@xmpp/streamparser"
| npm ERR! cwd /root
| npm ERR! node -v v4.6.1
| npm ERR! npm -v 1.4.21
| npm ERR! path xmpp/streamparser
| npm ERR! syscall stat
| npm ERR! code ENOENT
| npm ERR! errno -2
| npm ERR!
| npm ERR! Additional logging details can be found in:
| npm ERR!     /root/npm-debug.log
| npm ERR! not ok code 0
| #
`----

While when updating npm to a more recent upstream version this works
as expected:

,---- [ npm v3.10.9 ]
| # npm install -g npm
| npm WARN package.json config-chain at 1.1.11 No license field.
| /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
| npm at 3.10.9 /usr/local/lib/node_modules/npm
| # /usr/local/bin/npm install @xmpp/streamparser
| /root
| `-- @xmpp/streamparser at 0.0.1
|   +-- @xmpp/xml at 0.0.1
|   | `-- inherits at 2.0.3
|   `-- ltx at 2.5.1
|
| npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
| npm WARN root No description
| npm WARN root No repository field.
| npm WARN root No README data
| npm WARN root No license field.
| # echo $?
| 0
`----

Is really no one from the Debian Javascript Maintainers working on
the npm packaging or interested in having an up2date version
available for stretch? Are there any known blockers?

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20161115/8db37762/attachment.sig>


More information about the Pkg-javascript-devel mailing list