microsoft / microsoft/monaco-editor

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

Open
#3,336 11 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted website
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

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

Open the contributing guide

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.

Research direction

Reproduce the issue from the Monaco Editor playground and inspect the DevTools error for simpleWorker.nls.js.map. Trace how that source-map URL is generated and verify the fix by confirming the map loads successfully without a 404 or absolute-path error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.