Error using Mapbox in Modern app

Joystick3 years ago

Hi,

I've added mapboxAccessToken to my server attributes and included my unique token but when I select Mapbox Streets in the Modern app the map only show for a short period before the screen turns into a white display only. When this happen I receive below errors in web dev console.
Does anyone perhaps know why this is caused.

react_devtools_backend.js:4045 
        
       Unable to perform style diff: Unimplemented: setSprite, setGlyphs..  Rebuilding the style from scratch.
overrideMethod @ react_devtools_backend.js:4045
E @ maplibre-gl.js:31
(anonymous) @ maplibre-gl.js:35
(anonymous) @ maplibre-gl.js:35
(anonymous) @ maplibre-gl.js:31
Promise.then (async)
c @ maplibre-gl.js:31
(anonymous) @ maplibre-gl.js:31
Promise.then (async)
l @ maplibre-gl.js:31
ge @ maplibre-gl.js:31
xe @ maplibre-gl.js:31
(anonymous) @ maplibre-gl.js:31
(anonymous) @ maplibre-gl.js:35
(anonymous) @ maplibre-gl.js:35
value @ switcher.js:51
(anonymous) @ switcher.js:33
react_devtools_backend.js:4045 
        
       TypeError: Cannot read properties of undefined (reading 'setData')
    at GeofenceMap.js:75:19
    at Pu (react-dom.production.min.js:262:359)
    at scheduler.production.min.js:18:343
    at Uo (react-dom.production.min.js:122:325)
    at ku (react-dom.production.min.js:261:308)
    at react-dom.production.min.js:261:215
    at L (scheduler.production.min.js:16:224)
    at MessagePort.<anonymous> (scheduler.production.min.js:12:346)
overrideMethod @ react_devtools_backend.js:4045
is @ react-dom.production.min.js:216
(anonymous) @ react-dom.production.min.js:216
ci @ react-dom.production.min.js:131
ps @ react-dom.production.min.js:220
Cu @ react-dom.production.min.js:259
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
Du @ react-dom.production.min.js:252
pu @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
Go @ react-dom.production.min.js:123
Wo @ react-dom.production.min.js:122
Pu @ react-dom.production.min.js:263
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
ku @ react-dom.production.min.js:261
(anonymous) @ react-dom.production.min.js:261
L @ scheduler.production.min.js:16
(anonymous) @ scheduler.production.min.js:12
react_devtools_backend.js:4045 
        
       TypeError: Cannot read properties of undefined (reading 'setData')
    at AccuracyMap.js:49:19
    at Pu (react-dom.production.min.js:262:359)
    at scheduler.production.min.js:18:343
    at Uo (react-dom.production.min.js:122:325)
    at ku (react-dom.production.min.js:261:308)
    at react-dom.production.min.js:261:215
    at L (scheduler.production.min.js:16:224)
    at MessagePort.<anonymous> (scheduler.production.min.js:12:346)
overrideMethod @ react_devtools_backend.js:4045
is @ react-dom.production.min.js:216
(anonymous) @ react-dom.production.min.js:216
ci @ react-dom.production.min.js:131
ps @ react-dom.production.min.js:220
Cu @ react-dom.production.min.js:259
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
Du @ react-dom.production.min.js:252
pu @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
Go @ react-dom.production.min.js:123
Wo @ react-dom.production.min.js:122
Pu @ react-dom.production.min.js:263
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
ku @ react-dom.production.min.js:261
(anonymous) @ react-dom.production.min.js:261
L @ scheduler.production.min.js:16
(anonymous) @ scheduler.production.min.js:12
react_devtools_backend.js:4045 
        
       TypeError: Cannot read properties of undefined (reading 'setData')
    at PositionsMap.js:164:19
    at Pu (react-dom.production.min.js:262:359)
    at scheduler.production.min.js:18:343
    at Uo (react-dom.production.min.js:122:325)
    at ku (react-dom.production.min.js:261:308)
    at react-dom.production.min.js:261:215
    at L (scheduler.production.min.js:16:224)
    at MessagePort.<anonymous> (scheduler.production.min.js:12:346)
overrideMethod @ react_devtools_backend.js:4045
is @ react-dom.production.min.js:216
(anonymous) @ react-dom.production.min.js:216
ci @ react-dom.production.min.js:131
ps @ react-dom.production.min.js:220
Cu @ react-dom.production.min.js:259
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
Du @ react-dom.production.min.js:252
pu @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
Go @ react-dom.production.min.js:123
Wo @ react-dom.production.min.js:122
Pu @ react-dom.production.min.js:263
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
ku @ react-dom.production.min.js:261
(anonymous) @ react-dom.production.min.js:261
L @ scheduler.production.min.js:16
(anonymous) @ scheduler.production.min.js:12
scheduler.production.min.js:12 
        
       Uncaught TypeError: Cannot read properties of undefined (reading 'setData')
    at GeofenceMap.js:75:19
    at Pu (react-dom.production.min.js:262:359)
    at scheduler.production.min.js:18:343
    at Uo (react-dom.production.min.js:122:325)
    at ku (react-dom.production.min.js:261:308)
    at react-dom.production.min.js:261:215
    at L (scheduler.production.min.js:16:224)
    at MessagePort.<anonymous> (scheduler.production.min.js:12:346)
(anonymous) @ GeofenceMap.js:75
Pu @ react-dom.production.min.js:262
(anonymous) @ scheduler.production.min.js:18
Uo @ react-dom.production.min.js:122
ku @ react-dom.production.min.js:261
(anonymous) @ react-dom.production.min.js:261
L @ scheduler.production.min.js:16
(anonymous) @ scheduler.production.min.js:12
Anton Tananaev3 years ago

There's a known issue with vector maps.