0

I am working on a PhoneGap App and I tried implementing Typescript and requiredjs but for some reason. I am getting this error:

enter image description here

I dont understand why Phonegap is generating or somehow using socket.io

This is my structure

I have an appLoader.ts

declare let requirejs:any;
    declare let $:any;
    declare let angular:any;
    requirejs.config({

      shim: {
          "jquery.mobile-1.4.5.min":["jquery-1.11.3.min"],
          "angular.min":["jquery.mobile-1.4.5.min"],
          "index":["angular.min"],
          "ngCart":["angular.min"],
          "app":["angular.min","ngCart"],
          "app_controller":["app"],
          "controller/searchPostCondeController":["app_controller"]
      }
    });

    let dependencies = ["jquery-1.11.3.min","jquery.mobile-1.4.5.min","index","angular.min","ngCart","app","app_controller","controller/searchPostCondeController"];

    requirejs(dependencies, function() {
        angular.bootstrap($('html'), ['myApp']);

    });

I don't have any socket io that I am using. I also notice this

enter image description here

There's a sock io inclusion after my requirejs which I am not including manually. Or embedded in my HTML.

Yassi
  • 2,379
  • 4
  • 24
  • 33

0 Answers0