[Pkg-javascript-devel] Bug#772784: ENOENT crash error on any NPM command
Aurélio A. Heckert
aurelio at colivre.coop.br
Sat Dec 13 13:49:00 UTC 2014
-------- Mensagem original --------
Assunto: Bug#772784: ENOENT crash error on any NPM command
Data: Sat, 13 Dec 2014 10:39:52 -0300
De: "Aurélio A. Heckert" <aurelio at colivre.coop.br>
Empresa: Colivre
Para: Jérémy Lal <kapouer at melix.org>,
pkg-javascript-devel at lists.alioth.debian.org
Em 11-12-2014 13:03, Jérémy Lal escreveu:
> Le jeudi 11 décembre 2014 à 11:20 -0300, "Aurélio A. Heckert" a écrit :
>> Is there a new mandatory attribute on package.json?
> nothing that i know.
> I use npm daily (already used so many times today) and it works all
> right here.
>
> Did you install anything using npm -g ?
Some things like coffee and shelljs.
> What do you have in /usr/local/lib/node_modules/ ?
$ ls /usr/local/lib/node_modules/
chai commander iconv mocha sails temporary xml2js
codo css-condense jitsu nopt shelljs tmp yapm
coffee-script iced-coffee-script mktemp package socket.io uglify-js
> If you have something, put it away temporarily and check npm works
> again.
Wow! That works!
$ sudo mv /usr/local/lib/node_modules /usr/local/lib/node_modules_TMP
$ npm help
Usage: npm <command>
where <command> is one of:
add-user, adduser, apihelp, author, ...
Trying to discover a package to blame, i create a empty
/usr/local/lib/node_modules and copy back one by one, testing with "npm
help", the it crashes on *nopt*.
$ npm help
Error: ENOENT, open '/home/aurium/Projetos/rauzito-bot/null'
$ sudo rm -r /usr/local/lib/node_modules/nopt
$ npm help
Usage: npm <command>
where <command> is one of:
add-user, adduser, apihelp, author, ...
$ ls /usr/local/lib/node_modules
coffee-script iced-coffee-script sails temporary xml2js
commander mocha shelljs uglify-js yapm
Could an older /usr/local/lib/node_modules/nopt be in conflict with
/usr/lib/nodejs/nopt.js intended to be used by npm?
> Also do you have old or obsolete debian packages installed (not the ones
> from jessie ?)
No, i'm using testing since i use Debian (10+y). This machine was ever
testing.
> Jérémy.
--
*Aurélio A. Heckert (aka Aurium)*
http://softwarelivre.org/aurium
*COLIVRE — Coop. de Tecnologias Livres*
http://colivre.coop.br
*Inkscape* — Desenhe Livremente
http://inkscapeBrasil.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20141213/f5f07d3f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 5576 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20141213/f5f07d3f/attachment-0001.gif>
More information about the Pkg-javascript-devel
mailing list