Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 and open it again work well. but do any changes it show this prompt. how to fix it?. thanks in advance prompt error message console was be like that console error

Console Error

like image 654
shanthan Avatar asked Jun 07 '18 10:06

shanthan


2 Answers

After trying the above answers without success, I simply deleted the www folder and ionic serve again worked as expected

like image 115
Sahadev Avatar answered Nov 17 '22 15:11

Sahadev


This error you get when you use the following command directly as follows:

ionic serve
and then followed by 
ionic cordova build android --prod --release

I SUGGEST TO FOLLOW THIS METHOD, IF YOU WANT TO RUN THE APP IN BROWSER

ionic serve
ionic build
ionic build --prod

This way you get www folder where you can upload to server and check the whole app in browser directly

Then follow to make the app ready for google play store

ionic serve
ionic cordova build android --prod --release
like image 3
OmkieIT Solutions Avatar answered Nov 17 '22 16:11

OmkieIT Solutions