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 也可以正常使用了

相关推荐
不浪brown1 天前
服务器繁忙?在 VSCode 中运行本地DeepSeek-R1保姆级教程!仅需10分钟!亲测有效!(建议收藏)
人工智能·visual studio code·deepseek
晚秋大魔王2 天前
C# 添加图标
c#·visual studio code
长安第一美人5 天前
Qt中2个.app源文件之间函数与变量的互相调用
开发语言·c++·嵌入式硬件·qt·visual studio code
一梦南柯9 天前
开发新体验:基于Ollama+deepseek打造私有化代码助手
人工智能·visual studio code·deepseek
敲敲敲敲暴你脑袋9 天前
vue3中ref响应式变量为什么script中要用.value,而template模板中不需?
javascript·vue.js·visual studio code
红虾程序员12 天前
CSS盒子模型详解
前端·pycharm·intellij-idea·css3·html5·visual studio code
天机️灵韵13 天前
Continue 与 CodeGPT 插件 的对比分析
ide·visualstudio·intellij-idea·visual studio code
Lorcian17 天前
web前端12--表单和表格
前端·css·笔记·html5·visual studio code
Lorcian23 天前
web前端11--伪类与过渡
前端·css·笔记·html5·visual studio code
惜.己24 天前
鸿蒙仓颉环境配置(仓颉SDK下载,仓颉VsCode开发环境配置,仓颉DevEco开发环境配置)
vscode·华为·harmonyos·visual studio code·仓颉