VS code下载后无法启动(需要安装null.sys文件)(Typora无法启动,相同的解决方法)

问题描述

VS code无法启动

在对应安装路径中输入powershell 启动命令行,显示如下报错

复制代码
PS C:\Program Files\Microsoft VS Code> ./Code.exe
PS C:\Program Files\Microsoft VS Code>
----- Native stack trace -----

 1: 00007FF6184F3A8A uv_cpumask_size+72266
 2: 00007FF618493D3B node::InitializeOncePerProcess+1579
 3: 00007FF618493735 node::InitializeOncePerProcess+37
 4: 00007FF616876830 node::loader::ModuleWrap::SelfSize+3088
 5: 00007FF6167BEB74 uv_timer_get_repeat+16980
 6: 00007FF6175B854B v8::internal::compiler::CompilationDependencies::DependOnInitialMapInstanceSizePrediction+2036843
 7: 00007FF6175BC6DF v8::internal::compiler::CompilationDependencies::DependOnInitialMapInstanceSizePrediction+2053631
 8: 00007FF6175B7ABC v8::internal::compiler::CompilationDependencies::DependOnInitialMapInstanceSizePrediction+2034140
 9: 00007FF616969452 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+461170
10: 00007FF61696A737 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+466007
11: 00007FF61696A4FE v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+465438
12: 00007FF616968D06 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+459302
13: 00007FF616968E4D v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+459629
14: 00007FF6166BBDF5 v8::Extension::set_auto_enable+78213
15: 00007FF61A87B942 Cr_z_adler32+5234738
16: 00007FFF0F2A74B4 BaseThreadInitThunk+20
17: 00007FFF0FB026A1 RtlUserThreadStart+33

问题原因

插秧小能手-记vscode无法启动解决办法

C:\Windows\System32\drivers\null.sys 这个null.sys文件不存在

在cmd命令行运行sc start null会报错失败2

解决方法

1.找一台相同版本win10电脑拷贝null.sys文件

中间安装了一个损毁的null.sys文件,提示失败577


2.cmd执行 sc query null 提示指定的服务未安装;

3.执行创建命令

复制代码
sc create null binPath= C:\Windows\System32\drivers\null.sys type= kernel start= auto error= normal

4. 执行 sc query nullsc start null

执行完上述步骤后,双击VS Code图标即可打开

之前一直无法打开的最新版Typora 也可以正常使用了

相关推荐
敲敲敲敲暴你脑袋2 天前
写个添加注释的vscode插件
javascript·typescript·visual studio code
golang学习记2 天前
GitLens 十大神技:彻底改变你在 VS Code 中的 Git 工作流
前端·后端·visual studio code
小兵张健4 天前
为什么我放弃了 JetBrains 系列,转向 VSCode 等衍生物
visual studio code·jetbrains
晚风予星4 天前
Ant Design Token Lens 迎来了全面升级!支持在 .tsx 或 .ts 文件中直接使用 Design Token
前端·react.js·visual studio code
埃博拉酱5 天前
VS Code Remote SSH 连接 Windows 服务器卡在"下载 VS Code 服务器":prcdn DNS 解析失败的诊断与 BITS 断点续传
windows·ssh·visual studio code
孟陬5 天前
Tanstack Start 的天才创新之处——基于实际使用体验
react.js·visual studio code·next.js
一只叁木Meow6 天前
一个路径,搞崩 VSCode 的 Claude Code 插件
visual studio code
老师用之于民6 天前
【DAY25】线程与进程通信:共享内存、同步机制及实现方案
linux·c语言·ubuntu·visual studio code
ON10N7 天前
100% 纯 Vibe Coding,我是怎么用 AI 撸出一个 VS Code 插件的
git·ai编程·visual studio code
普通码农8 天前
在 Cursor 中使用 VS Code 扩展
visual studio code·cursor