[ https://issues.apache.org/jira/browse/CB-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj reassigned CB-4135: ----------------------------- Assignee: Filip Maj (was: Lorin Beer) > "cordova platform add blackberry" results in spurious errors > ------------------------------------------------------------ > > Key: CB-4135 > URL: https://issues.apache.org/jira/browse/CB-4135 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry, CLI > Environment: Mac > Reporter: Mike Sierra > Assignee: Filip Maj > Priority: Minor > > Running "cordova platform add blackberry" yielded the appended error stream, > which suggested failure due to file permission problems. But in fact, it did > successfully add blackberry, as confirmed by a subsequent build. > ======== > Ulothrix:hello sierra$ cordova platform add blackberry > [Error: An error occured during creation of blackberry sub-project. npm http > GET https://registry.npmjs.org/plugman/0.7.7 > npm http 304 https://registry.npmjs.org/plugman/0.7.7 > npm http GET https://registry.npmjs.org/nopt > npm http GET https://registry.npmjs.org/ncallbacks/1.1.0 > npm http GET https://registry.npmjs.org/bplist-parser > npm http GET https://registry.npmjs.org/plist > npm http GET https://registry.npmjs.org/dep-graph/1.1.0 > npm http GET https://registry.npmjs.org/osenv > npm http GET https://registry.npmjs.org/underscore/1.4.4 > npm http GET https://registry.npmjs.org/glob > npm ERR! git fetch -a origin (https://github.com/filmaj/node-xcode.git) > error: insufficient permission for adding an object to repository database > ./objects > npm ERR! git fetch -a origin (https://github.com/filmaj/node-xcode.git) > fatal: failed to write object > npm ERR! git fetch -a origin (https://github.com/filmaj/node-xcode.git) > fatal: unpack-objects failed > npm ERR! Error: `git "fetch" "-a" "origin"` failed with 128 > npm ERR! at ChildProcess.<anonymous> > (/usr/local/lib/node_modules/npm/lib/utils/exec.js:59:20) > npm ERR! at ChildProcess.EventEmitter.emit (events.js:98:17) > npm ERR! at maybeClose (child_process.js:730:16) > npm ERR! at Process.ChildProcess._handle.onexit (child_process.js:797:5) > npm ERR! If you need help, you may report this log at: > npm ERR! <http://github.com/isaacs/npm/issues> > npm ERR! or email it to: > npm ERR! <n...@googlegroups.com> > npm ERR! System Darwin 11.4.2 > npm ERR! command "node" "/usr/local/bin/npm" "install" > npm ERR! cwd /Users/sierra/.cordova/lib/blackberry/cordova/2.8.0 > npm ERR! node -v v0.10.5 > npm ERR! npm -v 1.2.18 > npm http 304 https://registry.npmjs.org/bplist-parser > npm http 304 https://registry.npmjs.org/ncallbacks/1.1.0 > npm http 304 https://registry.npmjs.org/osenv > npm http 304 https://registry.npmjs.org/underscore/1.4.4 > npm http 304 https://registry.npmjs.org/glob > npm http 304 https://registry.npmjs.org/plist > npm http 408 https://registry.npmjs.org/nopt > npm ERR! registry error parsing json > npm http 304 https://registry.npmjs.org/dep-graph/1.1.0 > npm http GET https://registry.npmjs.org/nopt > npm http 304 https://registry.npmjs.org/nopt > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! /Users/sierra/.cordova/lib/blackberry/cordova/2.8.0/npm-debug.log > npm ERR! not ok code 0 > Project creation failed! > Error: Error: ENOENT, no such file or directory > '/Users/sierra/sandbox/pg/hello/platforms/blackberry/cordova/node_modules/plugman/main.js' -- 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