You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ripple.apache.org by "Tim Barham (JIRA)" <ji...@apache.org> on 2015/10/19 20:57:27 UTC

[jira] [Commented] (RIPPLE-104) Could not find Cordova as a local module when running ripple emulate

    [ https://issues.apache.org/jira/browse/RIPPLE-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963846#comment-14963846 ] 

Tim Barham commented on RIPPLE-104:
-----------------------------------

[~gekhua] - that console message "Could not find Cordova as a local module" output is expected (Ripple first looks for Cordova as a local module, which is how Cordova used to work, then looks for it globally) and is unlikely to be the cause of your problem.

I just tried creating a new blank Cordova app and ran it in Ripple without any problem (got to "DEVICE IS READY"). Could you provide some additional info? For example:

* What version of Cordova?
* What platforms have did you add to your blank app?
* What device is selected in Ripple?
* What browser are you using?
* What output is showing in the JavaScript console? For example, I see the following (in my working scenario):

{noformat}
Ripple :: Environment Warming Up (Tea. Earl Grey. Hot.)
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.
Failed to load resource: the server responded with a status of 404 (Not Found)
cordova :: Initialization Finished (Make it so.)
Received Event: deviceready
{noformat}

If you see additional or different output, that would be useful.

> Could not find Cordova as a local module when running ripple emulate
> --------------------------------------------------------------------
>
>                 Key: RIPPLE-104
>                 URL: https://issues.apache.org/jira/browse/RIPPLE-104
>             Project: Apache Ripple
>          Issue Type: Question
>         Environment: I am running Cordova at 5.3.3, and Ripple at 0.9.3.2
>            Reporter: Tan Gek Hua
>              Labels: Cordova, local, module
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Whenever I run: ripple emulate from my Cordova/phonegap project folder, I would be slapped with a INFO: Could not find Cordova as a local module ... 
> And while Chrome runs - it would just get stuck at the page. I am using the default HelloWorld Cordova project and it would just stay at : Connecting device" without the device getting connected.
> And so I can't move any further.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)