Skip to content

Could not read source map for xxx.js when launch a web Extension #196781

Closed
microsoft/vscode-js-debug
#1873
@LinZexiao

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. create a new web extension by yo
  2. press f5

Log

...
无法读取 file:///home/lin/.vscode-server/extensions/mhutchie.git-graph-1.30.0/out/statusBarItem.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/mhutchie.git-graph-1.30.0/out/statusBarItem.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/extension.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/extension.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/appModel.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/appModel.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/LiveServerHelper.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/LiveServerHelper.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/StatusbarUi.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/StatusbarUi.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/Config.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/Config.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/Helper.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/Helper.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/workspaceResolver.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/workspaceResolver.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/LiveShareHelper.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/LiveShareHelper.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/node_modules/vsls/vscode.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/node_modules/vsls/liveShare.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/announcement/index.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/ritwickdey.liveserver-5.7.9/out/src/announcement/index.js.map'
无法读取 file:///home/lin/.vscode-server/extensions/streetsidesoftware.code-spell-checker-3.0.1/packages/client/dist/extension.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/extensions/streetsidesoftware.code-spell-checker-3.0.1/packages/client/dist/extension.js.map'
无法读取 file:///home/lin/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/vs/out-vscode/vs/loader.js 的源映射: ENOENT: no such file or directory, open '/home/lin/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/vs/out-vscode/vs/nls.js.map'
无法读取 file:///home/lin/dev/vsce/test2/node_modules/%40azure/core-rest-pipeline/dist-esm/src/pipeline.js 的源映射: ENOENT: no such file or directory, open '/home/lin/dev/vsce/test2/node_modules/@azure/core-rest-pipeline/dist-esm/src/pipeline.js.map'
无法读取 file:///home/lin/dev/vsce/test2/node_modules/%40azure/logger/dist-esm/src/debug.js 的源映射: ENOENT: no such file or directory, open '/home/lin/dev/vsce/test2/node_modules/@azure/logger/dist-esm/src/debug.js.map'
无法读取 file:///home/lin/dev/vsce/test2/node_modules/%40azure/logger/dist-esm/src/log.js 的源映射: ENOENT: no such file or directory, open '/home/lin/dev/vsce/test2/node_modules/@azure/logger/dist-esm/src/log.js.map'
无法读取 file:///home/lin/dev/vsce/test2/node_modules/%40azure/logger/dist-esm/src/index.js 的源映射: ENOENT: no such file or directory, open '/home/lin/dev/vsce/test2/node_modules/@azure/logger/dist-esm/src/index.js.map'
无法读取 file:///home/lin/dev/vsce/test2/node_modules/%40azure/core-rest-pipeline/dist-esm/src/log.js 的源映射: ENOENT: no such file or directory, open '/home/lin/dev/vsce/test2/node_modules/@azure/core-rest-pipeline/dist-esm/src/log.js.map'
无法读取 file:///home/lin/dev/vsce/test2/node_modules/%40azure/core-rest-pipeline/node_modules/%40azure/core-util/dist-esm/src/object.js 的源映射: ENOENT: no such file or directory, open '/home/lin/dev/vsce/test2/node_modules/@azure/core-rest-pipeline/node_modules/@azure/core-util/dist-esm/src/object.js.map'
...

Version

  • vscode
    版本: 1.83.1 (user setup)
    提交: f1b07bd
    日期: 2023-10-10T23:48:05.904Z
    Electron: 25.8.4
    ElectronBuildId: 24154031
    Chromium: 114.0.5735.289
    Node.js: 18.15.0
    V8: 11.4.183.29-electron.0
    OS: Windows_NT x64 10.0.22621

  • vscode-js-debug
    version : 1.83.1

more

  • It was developed on wsl2 with remote ssh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions