Microsoft/monaco-editor

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

Open

#3,336 创建于 2022年9月28日

在 GitHub 查看
 (11 评论) (11 反应) (0 负责人)JavaScript (1,283 fork)batch import
bughelp wantedwebsite

仓库指标

Star
 (14,836 star)
PR 合并指标
 (平均合并 6小时 26分钟) (30 天内合并 15 个 PR)

描述

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.

贡献者指南