Microsoft/monaco-editor

[Bug] Failed to load source map simpleWorker.nls.js.map

Open

#3,336 opened on Sep 28, 2022

View on GitHub
 (11 comments) (11 reactions) (0 assignees)JavaScript (14,836 stars) (1,283 forks)batch import
bughelp wantedwebsite

Description

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Code

No response

Reproduction Steps

  • Visit playground
  • Open dev tools
  • You will see errors in the console.

Actual (Problematic) Behavior

DevTools failed to load source map: Could not load content for https://microsoft.github.io/min-maps/vs/base/common/worker/simpleWorker.nls.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Expected Behavior

All source maps should load properly.

Additional Context

It seems that map is using an absolute path.

Contributor guide