Uploaded image for project: 'Apache Ripple'
  1. Apache Ripple
  2. RIPPLE-82

"cordova already defined" JS error when running "ripple emulate"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Ripple 0.9.28, Cordova 5.0.0, Chrome 42.0.2311.135 x64, Mac OS X 10.10.3, Android SDK Tools 24.1.2, Android SDK Platform Tools 22, Android SDK Build Tools 22.0.1

    Description

      Replication

      After freshly installing Ripple and Cordova I created a new project using cordova create test. I navigated into this project and build it using cordova platform add android; cordova build android. I then ran the emulator using ripple emulate

      JS Console
      Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.)
      ripple.js:50 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
      http://localhost:4400/ripple/assets/ripple.js Failed to load resource: the server responded with a status of 404 (Not Found)(anonymous function) @ ripple.js:50
      ripple.js:37 cordova :: Initialization Finished (Make it so.)
      cordova.js:104 Uncaught Error: cordova already defined

      Terminal
      INFO: Server instance running on: http://localhost:4400
      INFO: CORS XHR proxy service on: http://localhost:4400/ripple/xhr_proxy
      INFO: JSONP XHR proxy service on: http://localhost:4400/ripple/jsonp_xhr_proxy
      Cordova 3.0 Project detected...
      INFO: Could not find cordova as a local module. Expecting to find it installed globally.
      refreshing project (platform: android) ...
      ... done.
      INFO: Set Device User Agent (String): "Mozilla/5.0 (Linux; Android 4.1.1; Nexus 7 Build/JRO03D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mholmes Mark Holmes
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: