Libraries related - mappa Map style change does not work

Reference site 1:

Reference site 2:

  • MapboxGL Example

Reference site 3:

  1. Map style change does not work.
  • Previous source code
const options = {
   lat: 0,
   ng: 0,
   zoom: 4,
   style: 'mapbox://styles/mapbox/traffic-night-v2',
   pitch: 50,
};
  • Changed source code
const options = {
   lat: 0,
   ng: 0,
   zoom: 4,
   style: 'mapbox://styles/mapbox/streets-v11',
   pitch: 50,
};
  1. Do you know anyone? (Does anyone know how to solve this?)