Error loading target-script-min.js

Hi All,

When my app loads on a device (iPad) with an internet connection, it doesn’t find the min.js file, I get the following error:

“Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “” which could put your confidential information at risk.”

With the following link:

The app loads fine if the device has an internet connection or is offline completely. However, when the device is connected to a network that does NOT have an internet connection it will not load–in the debugger I get an ajax loader on:


My app connects via wifi to an aircraft tracking device that does not have an internet connection, so this is a showstopper for me.

Any ideas? Thanks much!

I’m developing with AppStudio version


The site was shut down about a year ago:

“target-script” is some code that AppStudio used to use for debugging. You can turn it off by setting “Debugger” to false in Project Properties.

Also, have a look at the AppStudio 6. It has a lot of new features.

Thanks George. Turning off ‘Debugger’ worked.