Hi everyone,
I am seeing this JS map error when changing basemap or toggling overlays,
"Uncaught TypeError: f.kc is not a function" . Attached is the screenshot.
This is the only instance I have ever seen this error on and it has been present in both v5 and now v5.1. Has anyone seen this particular error before? Or can help debug.
It is a server without internet access, I am not sure if that would change anything.
Any help would be great, I have tried reinstalling the dependencies but it was no use.
package.json below:
"dependencies": {
"@mapbox/geojson-extent": "0.3.2",
"@mapbox/geojsonhint": "^3.0.0",
"@mapbox/mapbox-gl-draw": "1.1.2",
"@mapbox/mapbox-gl-geocoder": "^4.4.0",
"@turf/turf": "4.4.0",
"backbone": "1.3.3",
"bootstrap": "3.3.7",
"bootstrap-colorpicker": "^2.3.6",
"chosen-js": "1.8.2",
"ckeditor": "^4.6.2",
"codemirror": "^5.24.0",
"core-js": "^2.5.7",
"d3": "^6.1.1",
"
datatables.net": "~1.10.12",
"datatables.net-bs": "~1.10.12",
"datatables.net-buttons": "^1.5.4",
"datatables.net-buttons-bs": "^1.5.4",
"datatables.net-responsive": "~2.1.0",
"datatables.net-responsive-bs": "~2.1.0",
"dom4": "^2.0.1",
"dropzone": "5.7.0",
"eonasdan-bootstrap-datetimepicker": "4.17.44",
"font-awesome": "~4.6.3",
"ionicons": "~2.0.1",
"jqtree": "1.3.4",
"jquery": "3.3.1",
"jquery-migrate": "3.0.0",
"jquery-validation": "1.17.0",
"jqueryui": "1.11.1",
"js-cookie": "2.1.1",
"knockout": "3.5.0",
"knockout-mapping": "~2.6.0",
"knockstrap": "1.3.2",
"latlon-geohash": "1.1.0",
"leaflet": "1.6.0",
"leaflet-draw": "^1.0.4",
"leaflet-iiif": "^3.0.0",
"leaflet.fullscreen": "^1.6.0",
"lt-themify-icons": "^1.1.0",
"mapbox-gl": "^1.8.1",
"metismenu": "2.7.2",
"moment": ">=2.10.5",
"moment-timezone": "0.5.0",
"nouislider": "11.0.3",
"numeral": "^2.0.6",
"proj4": "^2.3.15",
"requirejs": "~2.3.2",
"requirejs-plugins": "1.0.2",
"requirejs-text": "2.0.12",
"select2": "3.5.1",
"underscore": "1.9.1",
"uuidjs": "^3.3.0"
}