Reputation: 31
I'm new to developing Cordova project in Visual Studio 2015. I used the blank Cordova App template to create a project without any content and ran the project under Ripple. It showed several errors of the following two kinds:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) cordova :: Setting the user agent server side failed.
Failed to load resource: the server responded with a status of 404 (Not Found) cordova :: Initialization Finished (Make it so.)
How do I solve these questions? Thanks.
Upvotes: 3
Views: 2422
Reputation: 2956
To get rid of missing ripple.js error and other js-missing file related errors, just add this base meta tag to your head section of index.html:
<base href="/" target="_blank">
Add it before the other tags such as scripts and style declarations.
Upvotes: 1