I get warnings in the Debug Console of Servoy 8.2.1 developer and have unfortunately no idea how I can fix this:
WARN org.sablo.IndexPageEnhancer - same lib with lower version found: {"name":"moment","mimetype":"text/javascript","version":"2.11.1","url":"bootstrapcomponents/calendar/bootstrap-datetimepicker/js/moment-with-locales.min.js"} using lib: {"name":"moment","mimetype":"text/javascript","version":"3.0.0","url":"fullcalendarcomponent/fullcalendar/lib/moment.min.js"}
WARN org.sablo.IndexPageEnhancer - same lib with lower version found: {"name":"moment","mimetype":"text/javascript","version":"2.11.1","url":"servoydefault/calendar/bootstrap-datetimepicker/js/moment-with-locales.min.js"} using lib: {"name":"moment","mimetype":"text/javascript","version":"3.0.0","url":"fullcalendarcomponent/fullcalendar/lib/moment.min.js"}
WARN org.sablo.IndexPageEnhancer - Unknown mimetype {"name":"viewer.html","mimetype":"text/html","version":"1","url":"pdfviewer/pdfViewer/web/viewer.html"}
This error is saying that the Servoy Default calendar and the Bootstrap calendar components are using a different version of the javascript moment-with locales.js library. The only way to remove these warnings is to make sure that all components use the same version of the library. This should be done by Servoy but you can do a temporary fix by checking out the components from Github, making the changes yourself and then using your copy of them.
If you don’t want to do that then you need to wait for Servoy to update the components (or turn off warnings in your log file).
This conflict is between Bootstrap Components Calendar and FullCalendar momentjs library. We will update momentjs in Servoy 8.3 . Do you use full calendar and bootstrap components in same solution ? If not you could remove one dependency in order not to get this warning.
I’m now on Servoy 8.3.1, but the warning is always there!?
WARN org.sablo.IndexPageEnhancer - same lib with lower version found: {"name":"moment","mimetype":"text/javascript","version":"2.19.1","url":"bootstrapcomponents/calendar/bootstrap-datetimepicker/js/moment-with-locales.min.js"} using lib: {"name":"moment","mimetype":"text/javascript","version":"3.0.0","url":"fullcalendarcomponent/fullcalendar/lib/moment.min.js"}
WARN org.sablo.IndexPageEnhancer - same lib with lower version found: {"name":"moment","mimetype":"text/javascript","version":"2.19.1","url":"servoydefault/calendar/bootstrap-datetimepicker/js/moment-with-locales.min.js"} using lib: {"name":"moment","mimetype":"text/javascript","version":"3.0.0","url":"fullcalendarcomponent/fullcalendar/lib/moment.min.js"}
If you have several solutions that are used as modules, each solution can have its own webpackages. Could it be you updated a webpackage on one solution that shares components with another webpackage that has not (yet) been updated? If not maybe Servoy did (perhaps in a RC1 version of a component). I try to add the webpackages to the main solution as much as possible.
I see in the release notes of the 8.3.2RC that this is a known issue (SVY-12704) caused by the version of the datetimepicker in the AGGRID and that they will be updated in 8.3.2.