[
https://issues.apache.org/jira/browse/CB-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Tamony updated CB-8338:
-------------------------------
Comment: was deleted
(was: More errors:
module.js:340
throw err;
^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous>
(/Users/ME/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Error: /Users/ME/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:
Command failed with exit code 8
at ChildProcess.whenDone
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess._handle.onexit (child_process.js:833:5))
> Version? Updates? Etc....
> -------------------------
>
> Key: CB-8338
> URL: https://issues.apache.org/jira/browse/CB-8338
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Michael Tamony
>
> I am baffled and maybe this isn't considered a bug, but some updated docs on
> Cordova would be sweet. When I update to the latest Cordova I see
> cordova -v
> 4.2.0
> In here 3.5 is the latest.
> I performed an update and had a bunch of errors:
> sudo npm update -g cordova
> Password:
> npm WARN engine [email protected]: wanted: {"node":"~0.6.7"} (current:
> {"node":"0.10.32","npm":"1.4.28"})
> npm WARN package.json [email protected] No repository field.
> /usr/local/bin/cordova -> /usr/local/lib/node_modules/cordova/bin/cordova
> npm WARN unmet dependency
> /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm/node_modules/fstream
> requires rimraf@'2' but will load
> npm WARN unmet dependency undefined,
> npm WARN unmet dependency which is version undefined
> npm WARN unmet dependency
> /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm/node_modules/node-gyp
> requires rimraf@'2' but will load
> npm WARN unmet dependency undefined,
> npm WARN unmet dependency which is version undefined
> npm WARN unmet dependency
> /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm/node_modules/node-gyp
> requires which@'1' but will load
> npm WARN unmet dependency undefined,
> npm WARN unmet dependency which is version undefined
> npm WARN unmet dependency
> /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm/node_modules/npm-registry-client
> requires slide@'~1.1.3' but will load
> npm WARN unmet dependency undefined,
> npm WARN unmet dependency which is version undefined
> npm WARN unmet dependency
> /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm/node_modules/npm-registry-client
> requires rimraf@'~2' but will load
> npm WARN unmet dependency undefined,
> npm WARN unmet dependency which is version undefined
> npm WARN unmet dependency
> /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm/node_modules/npm-registry-client
> requires retry@'0.6.0' but will load
> npm WARN unmet dependency undefined,
> npm WARN unmet dependency which is version undefined
> npm WARN unmet dependency
> /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm/node_modules/read-installed
> requires slide@'~1.1.3' but will load
> npm WARN unmet dependency undefined,
> npm WARN unmet dependency which is version undefined
> Looked around in Stackoverflow and thought this would fix things:
> npm install npm -g
> Now my CLI is doing nothing:
> sudo npm update -g cordova
> Password:
> sudo: npm: command not found
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]