Richard Stovall created CB-3309:
-----------------------------------
Summary: npm install -g cordova fails on Windows 7 and Windows 8
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
Windows 8
Reporter: Richard Stovall
Assignee: Filip Maj
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 [email protected]
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 [email protected] 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 [email protected]
12291 info uninstall [email protected]
12292 verbose
true,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules
unbuild [email protected]
12293 verbose C:\Users\richard.stovall\AppData\Roaming\npm,[object Object]
binRoot
12294 info postuninstall [email protected]
12295 error [email protected] install: `node bootstrap.js`
12295 error `cmd "/c" "node bootstrap.js"` failed with 1
12296 error Failed at the [email protected] 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