You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Brian LeRoux (JIRA)" <ji...@apache.org> on 2013/01/10 01:34:13 UTC

[jira] [Reopened] (CB-2182) npm install fails

     [ https://issues.apache.org/jira/browse/CB-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian LeRoux reopened CB-2182:
------------------------------


now I'm getting:

npm http 304 https://registry.npmjs.org/lru-cache
/usr/local/bin/cordova -> /usr/local/lib/node_modules/cordova/bin/cordova

> cordova@2.3.1 install /usr/local/lib/node_modules/cordova
> node bootstrap.js && ./bin/notice

Downloading cordova-2.3.0, this may take a while...

stream.js:81
      throw er; // Unhandled stream error in pipe.
            ^
Error: ENOENT, open '/usr/local/lib/node_modules/cordova/lib/cordova-2.3.0-src.zip'
npm ERR! cordova@2.3.1 install: `node bootstrap.js && ./bin/notice`
npm ERR! `sh "-c" "node bootstrap.js && ./bin/notice"` failed with 1
npm ERR! 
npm ERR! Failed at the cordova@2.3.1 install script.
npm ERR! This is most likely a problem with the cordova package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node bootstrap.js && ./bin/notice
                
> npm install fails
> -----------------
>
>                 Key: CB-2182
>                 URL: https://issues.apache.org/jira/browse/CB-2182
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.3.0
>            Reporter: Brian LeRoux
>            Assignee: Filip Maj
>
> npm http 304 https://registry.npmjs.org/lru-cache
> /usr/local/bin/cordova -> /usr/local/lib/node_modules/cordova/bin/cordova
> > cordova@2.3.0 install /usr/local/lib/node_modules/cordova
> > node test_bootstrap.js && ./bin/notice
> module.js:340
>     throw err;
>           ^
> Error: Cannot find module '/usr/local/lib/node_modules/cordova/test_bootstrap.js'
>     at Function.Module._resolveFilename (module.js:338:15)
>     at Function.Module._load (module.js:280:25)
>     at Module.runMain (module.js:492:10)
>     at process.startup.processNextTick.process._tickCallback (node.js:244:9)
> npm ERR! cordova@2.3.0 install: `node test_bootstrap.js && ./bin/notice`
> npm ERR! `sh "-c" "node test_bootstrap.js && ./bin/notice"` failed with 1
> npm ERR! 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira