<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Em 11-12-2014 13:03, Jérémy Lal
escreveu:<br>
</div>
<blockquote cite="mid:1418313781.5210.4.camel@melix.org" type="cite">
<pre wrap="">Le jeudi 11 décembre 2014 à 11:20 -0300, "Aurélio A. Heckert" a écrit :
</pre>
<blockquote type="cite">
<pre wrap="">Is there a new mandatory attribute on package.json?
</pre>
</blockquote>
<pre wrap="">
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 ?</pre>
</blockquote>
Some things like coffee and shelljs.<br>
<br>
<blockquote cite="mid:1418313781.5210.4.camel@melix.org" type="cite">
<pre wrap="">What do you have in /usr/local/lib/node_modules/ ?</pre>
</blockquote>
$ ls /usr/local/lib/node_modules/<br>
chai commander iconv mocha sails
temporary xml2js<br>
codo css-condense jitsu nopt shelljs
tmp yapm<br>
coffee-script iced-coffee-script mktemp package socket.io
uglify-js<br>
<br>
<blockquote cite="mid:1418313781.5210.4.camel@melix.org" type="cite">
<pre wrap="">If you have something, put it away temporarily and check npm works
again.</pre>
</blockquote>
Wow! That works!<br>
<br>
$ sudo mv /usr/local/lib/node_modules
/usr/local/lib/node_modules_TMP<br>
$ npm help<br>
Usage: npm <command><br>
where <command> is one of:<br>
add-user, adduser, apihelp, author, ...<br>
<br>
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 <b>nopt</b>.<br>
<br>
$ npm help<br>
Error: ENOENT, open '/home/aurium/Projetos/rauzito-bot/null'<br>
<br>
$ sudo rm -r /usr/local/lib/node_modules/nopt<br>
$ npm help<br>
Usage: npm <command><br>
where <command> is one of:<br>
add-user, adduser, apihelp, author, ...<br>
<br>
$ ls /usr/local/lib/node_modules<br>
coffee-script iced-coffee-script sails temporary xml2js<br>
commander mocha shelljs uglify-js yapm<br>
<br>
<blockquote cite="mid:1418313781.5210.4.camel@melix.org" type="cite">
<pre wrap="">Also do you have old or obsolete debian packages installed (not the ones
from jessie ?)
</pre>
</blockquote>
No, i'm using testing since i use Debian (10+y). This machine was
ever testing.<br>
<br>
<blockquote cite="mid:1418313781.5210.4.camel@melix.org" type="cite">
<pre wrap="">Jérémy.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.09040104.07000703@colivre.coop.br"
style="float: left; margin-top:10px" align="left">
<div style="font-family:sans-serif; margin-left:130px"><font
color="gray">
<br>
<strong>Aurélio A. Heckert (aka Aurium)</strong>
<br>
<a href="http://softwarelivre.org/aurium"><font color="gray">http://softwarelivre.org/aurium</font></a>
<br>
<strong>COLIVRE <small>— Coop. de Tecnologias Livres</small></strong>
<br>
<a href="http://colivre.coop.br"><font color="gray">http://colivre.coop.br</font></a>
<br>
<br>
<small><strong>Inkscape</strong> — Desenhe Livremente</small>
<br>
<small><a href="http://inkscapeBrasil.org"><font color="gray">http://inkscapeBrasil.org</font></a></small>
</font></div>
</div>
</body>
</html>