Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3309

npm install -g cordova fails on Windows 7

    XMLWordPrintableJSON

Details

    Description

      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 ]

      Attachments

        Activity

          People

            bennmapes Benn
            rstovall Richard Stovall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: