Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23634

cordovasim: Invalid character '\u0187' inFileWriter.js

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 4.30.x
    • 4.4.2.Final
    • cordovasim
    • None
    • 10

    Description

      Created from the forum question - https://developer.jboss.org/message/965770?et=watches.email.thread#965770

      I'm trying to run our hybrid app on the cordova sim but I'm getting the following error:

      !JavaScript ERROR: SyntaxError: Invalid character '\u0187' on line 2 for http://localhost:54938/plugins/cordova-plugin-file/www/FileWriter.js
      !JavaScript ERROR: Error: Module cordova-plugin-file.FileWriter does not exist. on line 1469 for http://localhost:54938/cordova.js
      !JavaScript LOG: deviceready has not fired after 5 seconds.
      !JavaScript LOG: Channel not fired: onPluginsReady
      !JavaScript LOG: Channel not fired: onCordovaReady

      I'm sure there is nothing wrong with the app because we can build it just fine using ionic build. I've Googled the error and they said that it is a bug on version 8. But I am now using version 10 of JBoss Developer. Does anyone knows how to fix this? Below is my environment:

      Thanks

      JBoss Developer Studio 10.1.0
      Eclipse Neon 1
      Cordova CLI: 6.4.0
      Ionic CLI Version: 2.1.12
      Ionic App Lib Version: 2.1.7
      ios-deploy version: Not installed
      ios-sim version: Not installed
      OS: Windows 7
      Node Version: v6.9.1
      Xcode version: Not installed

      Attachments

        Activity

          People

            ibuziuk@redhat.com Ilya Buziuk
            ibuziuk@redhat.com Ilya Buziuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: