jasper07 / openui5-googlemaps

Openui5 Googlemaps library
MIT License
65 stars 43 forks source link

openui5/googlemaps/library-preload.js: 404 - Not Found #26

Closed AdoWebDesig closed 7 years ago

AdoWebDesig commented 7 years ago

I'am getting this error:

jquery.sap.global-dbg.js:993 2017-04-23 12:27:21.861155 failed to load 'openui5/googlemaps/library-preload' (failed to load 'openui5/googlemaps/library-preload.js' from ../../../../../webapp/openui5/googlemaps/library-preload.js: 404 - Not Found) -

Error is correct because there is no library-preload.js but library-preload.json...

jasper07 commented 7 years ago

Error is correct because there is no library-preload.js but library-preload.json

UI5 when not in debug mode, will try and load libraries from a preload file, first it will look for a library-preload.js first and if not found will go to openui5/googlemaps/library-preload.json if not found will load the library and then lazy load resources as required.

I am using gulp-ui5-preload to generate the library preload files, it uses the JSON option