prompt error “localhost:8100 says gap_init:3” message while load ionic project in browser

后端 未结 6 2101
误落风尘
误落风尘 2021-01-12 01:13

while i do changes in any page code there is a prompt message \"localhost:8100 says gap_init:3\" shown. then I clicked \'ok\' button another 5 messages shown. close browser

6条回答
  •  耶瑟儿~
    2021-01-12 01:56

    Delete the cordova.js from the www folder

    When I had this problem, I was playing around with different Ionic / Angular versions and their build tools. The problem for me boiled down to 2 different cordova.js files being included into the page. After quite some time I realized that I had an outdated cordova.js output file in my www folder. Clearing the whole folder solved the problem.

提交回复
热议问题