简体   繁体   English

VS code 编辑器打不开,开发者工具弹出错误信息

[英]VS code Editor cannot open and developer tools pops up with an error message

When i open my VS code, it shows that "The Editor could not be opened due to unexpected error; try again. Unable to write folder settings because no resource is provided and check Developer tools also pops up showing this error:当我打开我的 VS 代码时,它显示“由于意外错误无法打开编辑器;重试。无法写入文件夹设置,因为没有提供资源并检查开发人员工具也会弹出显示此错误:

  1. DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/e18005f%E2%80%A6/core/vs/workbench/workbench.desktop.main.js.map : Load canceled due to load timeout DevTools 加载源失败 map:无法加载https://ticino.blob.core.windows.net/sourcemaps/e18005f%E2%80%A6/core/vs/workbench/workbench.desktop.main.js 的内容。 map : 由于加载超时取消加载

I tried googling but a whole page of script pops up of which i know nothing我尝试使用谷歌搜索,但弹出了整页脚本,我对此一无所知

I can't exactly know what the issue was since I can't tell if you were making something before-hand or if you just installed but I'll give you a few helpful tips我无法确切知道问题出在哪里,因为我无法判断您是事先制作的还是刚刚安装的,但我会给您一些有用的提示

1: If you were working on a web app, you need to enable CSS & Javascript sourcemaps in whatever browser you are using. 1:如果您正在开发 web 应用程序,则需要在您使用的任何浏览器中启用 CSS 和 Javascript 源映射。 There are many tutorials to teach you how to do this.有很多教程可以教您如何执行此操作。

2: If VSCode gives you the error but still opens, try to open a folder or a workspace file, as this link says that opening a workspace should fix the issue. 2:如果 VSCode 给你错误但仍然打开,请尝试打开一个文件夹或工作区文件,因为 这个链接说打开工作区应该可以解决问题。

3: If you just installed VSCode, uninstall it and try again. 3:如果你刚刚安装了VSCode,请卸载后重试。 It's more than likely that VSCode didn't install correctly or are missing dependencies. VSCode 很可能没有正确安装或缺少依赖项。

If none of those work, please give more detail about the issue.如果这些都不起作用,请提供有关该问题的更多详细信息。 The link you provided doesn't load properly, and I can't tell what you were doing beforehand that could have possibly caused this issue您提供的链接无法正确加载,我无法判断您之前在做什么可能会导致此问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM