monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

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

Open kellengreen opened this issue 2 years ago • 10 comments

Reproducible in vscode.dev or in VS Code Desktop?

  • [X] 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.

kellengreen avatar Sep 28 '22 11:09 kellengreen

I cannot reproduce. Does this bug still apply?

hediet avatar Mar 13 '23 15:03 hediet

Seems to be resolved now.

kellengreen avatar Mar 15 '23 19:03 kellengreen

Still getting this in this example https://github.com/microsoft/monaco-editor/blob/main/samples/browser-script-editor/index.html

AlexanderMatveev avatar Apr 06 '23 10:04 AlexanderMatveev

Using latest monaco we're still seeing it?

kellengreen avatar Apr 06 '23 22:04 kellengreen

I tried most recent version just before posting my previous comment

AlexanderMatveev avatar Apr 11 '23 19:04 AlexanderMatveev

Also getting this error using version 0.36.1 and 0.38.0.

mjswan avatar Apr 18 '23 23:04 mjswan

+1 still get this error in 0.38.0

yinque avatar May 12 '23 17:05 yinque

still get this error in 0.38.0

liuchintao avatar Jun 06 '23 12:06 liuchintao

image

rizrmd avatar Jun 06 '23 13:06 rizrmd

still getting this error in version 0.39.0

Bruno2049 avatar Jun 29 '23 14:06 Bruno2049