cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Germano Gabbianelli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-3375) cordova-cli fails to install from the development repository.
Date Sun, 12 May 2013 16:11:16 GMT
Germano Gabbianelli created CB-3375:
---------------------------------------

             Summary: cordova-cli fails to install from the development repository.
                 Key: CB-3375
                 URL: https://issues.apache.org/jira/browse/CB-3375
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: Master
            Reporter: Germano Gabbianelli
            Assignee: Filip Maj
            Priority: Blocker


steps to reproduce:
{code}
$ git clone git@github.com:apache/cordova-cli.git
$ cd cordova-cli
$ npm link

[..]

> cordova@2.7.2 install /home/tyrion/src/cordova-cli
> node bootstrap.js


/home/tyrion/src/cordova-cli/src/create.js:103
    var configPath = util.projectConfig(dir);
                          ^
TypeError: Object #<Object> has no method 'projectConfig'
    at create (/home/tyrion/src/cordova-cli/src/create.js:103:27)
    at Object.<anonymous> (/home/tyrion/src/cordova-cli/bootstrap.js:50:1)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
npm ERR! cordova@2.7.2 install: `node bootstrap.js`
npm ERR! `sh "-c" "node bootstrap.js"` failed with 1
npm ERR! 
npm ERR! Failed at the cordova@2.7.2 install script.
npm ERR! This is most likely a problem with the cordova package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node bootstrap.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls cordova
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.5.0-28-generic
npm ERR! command "nodejs" "/usr/bin/npm" "link"
npm ERR! cwd /home/tyrion/src/cordova-cli
npm ERR! node -v v0.8.11
npm ERR! npm -v 1.1.62
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/tyrion/src/cordova-cli/npm-debug.log
npm ERR! not ok code 0

{code}

create.js is referencing projectConfig which no longer exists in src/utils.js

see: https://github.com/apache/cordova-cli/commit/d27766874ac653fdf90a102a6314520135ecb395#commitcomment-3186858

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

Mime
View raw message