Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't install a node module with nopt on ubuntu due to an issue in npm
    primarykey
    data
    text
    <p>My Ubuntu is full updated on last version (update, upgrade, dist-upgrade) but when I try to do :</p> <pre><code>mathrobin@mathrobin-pc:~$ sudo npm install -g yo </code></pre> <p>I get this :</p> <pre><code>npm ERR! Error: No compatible version found: nopt@'&gt;=2.1.1- &lt;2.2.0-' npm ERR! Valid install targets: npm ERR! ["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.10"] npm ERR! at installTargetsError (/usr/lib/node_modules/npm/lib/cache.js:506:10) npm ERR! at next_ (/usr/lib/node_modules/npm/lib/cache.js:452:17) npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:427:44) npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:419:5 npm ERR! at saved (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:136:7) npm ERR! at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:230:7 npm ERR! at Object.oncomplete (fs.js:297:15) npm ERR! [Error: No compatible version found: nopt@'&gt;=2.1.1- &lt;2.2.0-' npm ERR! Valid install targets: npm ERR! ["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.10"]] npm ERR! You may report this log at: npm ERR! &lt;http://github.com/isaacs/npm/issues&gt; npm ERR! or email it to: npm ERR! &lt;npm-@googlegroups.com&gt; npm ERR! System Linux 3.2.0-54-generic npm ERR! command "node" "/usr/bin/npm" "install" "-g" "yo" npm ERR! cwd /home/mathrobin npm ERR! node -v v0.8.9 npm ERR! npm -v 1.1.26 npm ERR! message No compatible version found: nopt@'&gt;=2.1.1- &lt;2.2.0-' npm ERR! message Valid install targets: npm ERR! message ["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.10"] npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/mathrobin/npm-debug.log npm ERR! not ok code 0 </code></pre> <p>What can I do to solve this ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload