Skip to content

Uncaught ReferenceError: __async is not defined #13684

Description

@anbaran

mapbox-gl-js version

v3.24.1

Browser and version

No response

Expected behavior

After upgrading mapboxgl from v3.16.0 to v3.24.1 I receive the below error when my code in Angular 22 executes the line new mapboxgl.Map({
In version v3.16 the error does not occur
the error is

Image

An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'

Actual behavior

No response

Link to the demonstration

No response

Steps to trigger the unexpected behavior

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions