Note that there are some explanatory texts on larger screens.

plurals
  1. PONPM install giving error installing express
    primarykey
    data
    text
    <p>When I give command <code>npm install express</code> it throws following error. On ubuntu machine</p> <pre><code>gaurav@gaurav-Mini-Monster:~/TestScripts$ sudo npm install -g express npm ERR! error installing express@3.3.3 Error: Unsupported npm ERR! error installing express@3.3.3 at checkEngine (/usr/local/lib/node_modules/npm/lib/install.js:493:14) npm ERR! error installing express@3.3.3 at Array.0 (/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8) npm ERR! error installing express@3.3.3 at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:13) npm ERR! error installing express@3.3.3 at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:4) npm ERR! error installing express@3.3.3 at installOne_ (/usr/local/lib/node_modules/npm/lib/install.js:470:3) npm ERR! error installing express@3.3.3 at installOne (/usr/local/lib/node_modules/npm/lib/install.js:411:3) npm ERR! error installing express@3.3.3 at /usr/local/lib/node_modules/npm/lib/install.js:347:9 npm ERR! error installing express@3.3.3 at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:54:35 npm ERR! error installing express@3.3.3 at Array.forEach (native) npm ERR! error installing express@3.3.3 at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:54:11 npm ERR! error rolling back express@3.3.3 Error: UNKNOWN, Unknown error '/usr/local/lib/node_modules/express' npm ERR! Unsupported npm ERR! Not compatible with your version of node/npm: connect@2.8.3 npm ERR! Required: {"node":"&gt;= 0.8.0"} npm ERR! Actual: {"npm":"1.0.106","node":"0.5.11-pre"} npm ERR! npm ERR! System Linux 3.2.0-48-generic-pae npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "express" npm ERR! cwd /home/gaurav/TestScripts npm ERR! node -v v0.5.11-pre npm ERR! npm -v 1.0.106 npm ERR! code ENOTSUP npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/gaurav/TestScripts/npm-debug.log npm not ok </code></pre> <p>I also tried</p> <pre><code>sudo npm install express npm install -g express sudo npm install -g express </code></pre> <p>Nothing works.</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.
 

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