Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7978

Can't run browser platform on Linux

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: cordova-browser
    • Labels:
      None
    • Environment:

      Linux

      Description

      Command "cordova run browser" doesn't work on Linux. The run command handles the cases of when using Windows and Darwin (MacOS) but no Linux.

      Moreover, I have Chrome installed in my machine, but it doesn't respond to the typical "chrome" command because I get an error in the standard output[1], so I have to use "google-chrome" command to launch it

      One more thing I noticed is that in the run script of the browser platform, it is directly pointing to "www/index.html", instead of reading config.xml file looking for <content src="HTMLPage.html">

      [1] Error
      chrome: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sosah.victor Victor Adrian Sosa Herrera
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: