You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2013/11/01 15:49:24 UTC

[jira] [Resolved] (CB-5240) cordova ripple ios doesn't work! Object function server() has no method 'config'

     [ https://issues.apache.org/jira/browse/CB-5240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Braden Shepherdson resolved CB-5240.
------------------------------------

    Resolution: Duplicate
      Assignee: Gord

Assigning to Gord for comment, but:

Ripple is known not to work in 3.x. Gord is working on fixing it, and it's nearly ready to rock again, but it isn't working right now.

Keep an eye out for it to be supported in a near-future release of CLI; we'll announce it in the blog post.

> cordova ripple ios doesn't work! Object function server() has no method 'config'
> --------------------------------------------------------------------------------
>
>                 Key: CB-5240
>                 URL: https://issues.apache.org/jira/browse/CB-5240
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0
>         Environment: cordova cli version: 3.1.0-0.2.0
>            Reporter: lmnbeyond
>            Assignee: Gord
>
> When I ran "cordova ripple ios -d", the console printed the following info:
> TypeError: *Object function server(port) {*
>     var projectRoot = cordova_util.isCordova(process.cwd());
>     port = +port || 8000;
>     if (!projectRoot) {
>         throw new Error('Current working directory is not a Cordova-based project.');
>     }
>     var hooks = new hooker(projectRoot);
>     return hooks.fire('before_serve')
>     .then(function() {
>         // Run a prepare first!
>         return require('../cordova').raw.prepare([]);
>     }).then(function() {
>         launchServer(projectRoot, port);
>         return hooks.fire('after_serve');
>     });
> } *has no method 'config'*
>     at CLI.module.exports (/usr/local/lib/node_modules/cordova/src/ripple.js:26:11)
>     at new CLI (/usr/local/lib/node_modules/cordova/src/cli.js:111:30)
>     at Object.<anonymous> (/usr/local/lib/node_modules/cordova/bin/cordova:41:16)
>     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)
>     at startup (node.js:119:16)
>     at node.js:901:3



--
This message was sent by Atlassian JIRA
(v6.1#6144)