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

Ripple expects to find Cordova globally installed

    XMLWordPrintableJSON

Details

    Description

      Ripple calls cordova prepare expecting to find cordova globally installed. And worse, in case it doesn't it fails silently. The offending line:

      lib/server/emulate/hosted.js.js: line 166
      exec('cordova prepare ' + req.staticPlatform, function () { ...
      

      I have a fix for this where we fallback to exec only if a call to require.resolve('cordova') fails. In any other case, we'll use cordova's prepare module for the task. See GitHub for the related pull request: https://github.com/apache/incubator-ripple/pull/24

      Attachments

        Activity

          People

            brentlintner Brent Lintner
            MMrko Marko Raatikka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: