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

相关推荐
萌萌哒草头将军12 小时前
🎉🎉🎉Cursor 宣布完成 C 轮 9 亿美元融资,市场估值 99 亿美元!
visual studio code·cursor·trae
LinXunFeng13 小时前
Flutter - GetX Helper 助你规范应用 tag
flutter·github·visual studio code
Jooolin16 小时前
【编程史】IDE 是谁发明的?从 punch cards 到 VS Code
ai编程·visual studio code·编译器
vueTmp3 天前
VSCode 插件离线下载攻略
visual studio code
穷人小水滴7 天前
在 Android 设备上写代码 (Termux, code-server)
android·linux·visual studio code
哎呦你好10 天前
VS Code 安装后设置中文界面并添加常用插件的详细指南
编辑器·visual studio code
魔术师ID20 天前
vue2.0 组件生命周期
前端·javascript·vue.js·学习·visual studio code
MingT 明天你好!20 天前
在vs code 中无法运行npm并报无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查
前端·npm·node.js·visual studio code
Ynov24 天前
详细解释api
javascript·visual studio code
程序员Bears1 个月前
现代前端工具链深度解析:从包管理到构建工具的完整指南
前端·python·visual studio code