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:17 UTC

[jira] [Commented] (CB-3309) npm install -g cordova fails on Windows 7

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

Benn Mapes commented on CB-3309:
--------------------------------

Could someone with a windows 7 machine make sure this is fixed by CB-2079?
                
> npm install -g cordova fails on Windows 7
> -----------------------------------------
>
>                 Key: CB-3309
>                 URL: https://issues.apache.org/jira/browse/CB-3309
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.6.0
>         Environment: Windows 7
>            Reporter: Richard Stovall
>            Assignee: Benn Mapes
>              Labels: 7, 8, command-line, cordova, cordova-cli, npm, windows
>
> I've attempted to use NPM to install the Cordova CLI on two different machines, a windows 8 computer and a windows 7 computer. Both attempts gave me the same error message.
> Additionally, I've tried to install Cordova 2.6 and 2.5 on the windows 8 machine and received the same message. 
> 12282 verbose rebuildBundles   'shelljs',
> 12282 verbose rebuildBundles   'xcode' ]
> 12283 info install cordova@2.7.2
> 12284 verbose unsafe-perm in lifecycle true
> 12285 silly exec cmd "/c" "node bootstrap.js"
> 12286 silly cmd,/c,node bootstrap.js,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules\cordova spawning
> 12287 info cordova@2.7.2 Failed to exec install script
> 12288 info C:\Users\richard.stovall\AppData\Roaming\npm\node_modules\cordova unbuild
> 12289 verbose from cache C:\Users\richard.stovall\AppData\Roaming\npm\node_modules\cordova\package.json
> 12290 info preuninstall cordova@2.7.2
> 12291 info uninstall cordova@2.7.2
> 12292 verbose true,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules unbuild cordova@2.7.2
> 12293 verbose C:\Users\richard.stovall\AppData\Roaming\npm,[object Object] binRoot
> 12294 info postuninstall cordova@2.7.2
> 12295 error cordova@2.7.2 install: `node bootstrap.js`
> 12295 error `cmd "/c" "node bootstrap.js"` failed with 1
> 12296 error Failed at the cordova@2.7.2 install script.
> 12296 error This is most likely a problem with the cordova package,
> 12296 error not with npm itself.
> 12296 error Tell the author that this fails on your system:
> 12296 error     node bootstrap.js
> 12296 error You can get their info via:
> 12296 error     npm owner ls cordova
> 12296 error There is likely additional logging output above.
> 12297 error System Windows_NT 6.2.9200
> 12298 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
> 12299 error cwd C:\Projects
> 12300 error node -v v0.10.5
> 12301 error npm -v 1.2.18
> 12302 error code ELIFECYCLE
> 12303 verbose exit [ 1, true ]

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