You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Benn Mapes (JIRA)" <ji...@apache.org> on 2013/05/16 00:47:15 UTC

[jira] [Comment Edited] (CB-2597) 'npm install -g cordova' fails under Windows 8

    [ https://issues.apache.org/jira/browse/CB-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658947#comment-13658947 ] 

Benn Mapes edited comment on CB-2597 at 5/15/13 10:45 PM:
----------------------------------------------------------

fixed by CB-2079
                
      was (Author: bennmapes):
    fixed by CB-2205
                  
> 'npm install -g cordova' fails under Windows 8
> ----------------------------------------------
>
>                 Key: CB-2597
>                 URL: https://issues.apache.org/jira/browse/CB-2597
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.5.0
>         Environment: Windows 8 Professional
>            Reporter: Baptiste Gaillard
>            Assignee: Benn Mapes
>         Attachments: npm-debug.log
>
>
> Here is what is displayed when I call 'npm install -g cordova' : 
> C:\dev_tools\Cordova\2.2.0\lib\android\bin\goblock>npm install -g cordova
> npm http GET https://registry.npmjs.org/cordova
> npm http 304 https://registry.npmjs.org/cordova
> npm http GET https://registry.npmjs.org/colors
> npm http GET https://registry.npmjs.org/elementtree/0.1.3
> ...
> ...
> ...
> npm http GET https://registry.npmjs.org/minimatch
> npm http GET https://registry.npmjs.org/graceful-fs
> npm http GET https://registry.npmjs.org/inherits
> npm http GET https://registry.npmjs.org/pegjs/0.6.2
> npm http GET https://registry.npmjs.org/node-uuid/1.3.3
> npm http 304 https://registry.npmjs.org/abbrev
> npm http 304 https://registry.npmjs.org/graceful-fs
> npm http 304 https://registry.npmjs.org/minimatch
> npm http 304 https://registry.npmjs.org/fast-list
> npm http 304 https://registry.npmjs.org/inherits
> npm http GET https://registry.npmjs.org/lru-cache
> npm http 304 https://registry.npmjs.org/pegjs/0.6.2
> npm http 304 https://registry.npmjs.org/node-uuid/1.3.3
> npm http 304 https://registry.npmjs.org/lru-cache
> C:\Users\bouba\AppData\Roaming\npm\cordova -> C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\bin\cordova
> > cordova@2.5.0 install C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova
> > node bootstrap.js
> shell.js: internal error
> Error: ENOENT, no such file or directory 'C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\C:'
>     at Object.fs.mkdirSync (fs.js:483:18)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1629:8)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
>     at mkdirSyncRecursive (C:\Users\bouba\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1634:3)
> npm ERR! cordova@2.5.0 install: `node bootstrap.js`
> npm ERR! `cmd "/c" "node bootstrap.js"` failed with 1
> npm ERR!
> npm ERR! Failed at the cordova@2.5.0 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
> npm ERR! You can get their info via:
> npm ERR!     npm owner ls cordova
> npm ERR! There is likely additional logging output above.
> npm ERR! System Windows_NT 6.2.9200
> npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
> npm ERR! cwd C:\dev_tools\Cordova\2.2.0\lib\android\bin\goblock
> npm ERR! node -v v0.8.12
> npm ERR! npm -v 1.1.63
> npm ERR! code ELIFECYCLE
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR!     C:\dev_tools\Cordova\2.2.0\lib\android\bin\goblock\npm-debug.log
> npm ERR! not ok code 0

--
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