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

相关推荐
程序员Bears10 天前
现代前端工具链深度解析:从包管理到构建工具的完整指南
前端·python·visual studio code
formulahendry12 天前
把 MCP Server 打包进 VS Code extension
visual studio code·vs code·mcp
程序员Bears13 天前
深入理解CSS3:Flex/Grid布局、动画与媒体查询实战指南
前端·css3·媒体·visual studio code
优弧14 天前
VSCode配置重置完全指南
visual studio code
H5开发新纪元14 天前
VS Code 插件开发实战:代码截图工具
javascript·visual studio code
程序员Bears14 天前
HTML5 新特性详解:语义化标签、表单与音视频嵌入
前端·html·html5·visual studio code
demo007x15 天前
四、从 0 开始构建一个代码库-向量数据库的选择与集成
visual studio code·cursor·trae
hepherd16 天前
Flutter 环境搭建 (Android)
android·flutter·visual studio code
YiSLWLL17 天前
使用Tauri 2.3.1+Leptos 0.7.8开发桌面小程序汇总
python·rust·sqlite·matplotlib·visual studio code
WDeLiang18 天前
Flutter 环境搭建
flutter·ios·visual studio code