4 Replies Latest reply on Dec 14, 2016 5:15 PM by bogdanicalen

    cordovasim: Invalid character '\u0187' on line 2..FileWriter.js




      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: 




      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