[Bug] Safari 15 has the JS error

Open
#5,483 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@hediet is already working on this.

Since Sep 20, 2026.

Assessment

This issue has not been assessed yet.

Description

Hello everyone, I ran into an issue. I am using monaco-editor: ^0.56.0 along with React 18 and Webpack 5. When running it on an old macOS system using the Safari 15 browser, it throws an error, but Chrome and Firefox don't have any issues. I suspect that some advanced syntax might be causing Safari 15 not to support it. Does anyone have any suggestions? Thanks.

Screenshots

Image Image

Desktop (please complete the following information):

  • OS: mac os 10.15
  • Browser safari 15.6.1
Dominant language
JavaScript
Stars
47k
Forks
4.2k
Avg merge
3d 13h
Merged PRs (30d)
13

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/monaco-editor

All issues in microsoft/monaco-editor

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.