Microsoft/monaco-editor

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

Open

#3.336 aberto em 28 de set. de 2022

Ver no GitHub
 (11 comments) (11 reactions) (0 assignees)JavaScript (1.283 forks)batch import
bughelp wantedwebsite

Métricas do repositório

Stars
 (14.836 stars)
Métricas de merge de PR
 (Mesclagem média 6h 26m) (15 fundiu PRs em 30d)

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.

Guia do colaborador