gpt4 book ai didi

visual-studio-code - 无法启动 VSC

转载 作者:行者123 更新时间:2023-12-05 06:07:35 26 4
gpt4 key购买 nike

我最近尝试启动 VSC,但没有出现任何问题 我等了大约 15 分钟,但仍然没有任何反应,所以我尝试使用 CMD 运行它,然后我发现我得到了一些无效 token (我没有 Node.js)这是我尝试运行它时发生的事情,这是日志给出的内容:

Y:\Microsoft VS Code\resources\app\out\vs\loader.js:1
.58a4.6,4.6,0,0,1-2.11-.46v-1a4.33,4.33,0,0,0,2.09.61q2.4,0,2.4-2.55v-.71h0a2.63,2.63,0,0,1-4.19.38,3.46,3.46,0,0,1-.74-2.33,4,4,0,0,1,.8-2.63,2.66,2.66,0,0,1,2.18-1,2.12,2.12,0,0,1,1.95,1.05h0v-.9h1Zm-1-2.42v-1a1.86,1.86,0,0,0-.52-1.33,1.73,1.73,0,0,0-1.3-.55,1.81,1.81,0,0,0-1.51.7,3.13,3.13,0,0,0-.55,2,2.69,2.69,0,0,0,.52,1.74,1.69,1.69,0,0,0,1.39.65,1.81,1.81,0,0,0,1.43-.62A2.32,2.32,0,0,0,104.93,95.39Z"/><path class="cls-3" d="M113.3,95.34h-4.59a2.43,2.43,0,0,0,.58,1.68,2,2,0,0,0,1.54.59,3.19,3.19,0,0,0,2-.72v1a3.77,3.77,0,0,1-2.27.62,2.75,2.75,0,0,1-2.17-.89,3.63,3.63,0,0,1-.79-2.49,3.55,3.55,0,0,1,.86-2.47,2.76,2.76,0,0,1,2.14-1,2.44,2.44,0,0,1,2,.83,3.44,3.44,0,0,1,.7,2.29Zm-1.07-.88a2.12,2.12,0,0,0-.44-1.4,1.48,1.48,0,0,0-1.19-.5,1.68,1.68,0,0,0-1.25.53,2.4,2.4,0,0,0-.63,1.38Z"/><path class="cls-3" d="M127.86,98.33h-1.06V92.22q0-.72.09-1.77h0a5.69,5.69,0,0,1-.27.88l-3.11,7H123l-3.1-6.94a5.42,5.42,0,0,1-.27-.93h0q0,.54.05,1.78v6.09h-1v-9.1H120l2.7

SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:942:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1051:10)
at Module.load (internal/modules/cjs/loader.js:862:32)
at Module._load (internal/modules/cjs/loader.js:774:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:899:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (Y:\Microsoft VS Code\resources\app\out\bootstrap-amd.js:5:27)
at Module._compile (internal/modules/cjs/loader.js:1014:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1051:10)
at Module.load (internal/modules/cjs/loader.js:862:32)
at Module._load (internal/modules/cjs/loader.js:774:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:899:19)
at require (internal/modules/cjs/helpers.js:74:18)
at startup (Y:\Microsoft VS Code\resources\app\out\main.js:8:176)
at onReady (Y:\Microsoft VS Code\resources\app\out\main.js:8:422)

但无论如何,我已经尝试使用一些不同的选项来运行它,例如:兼容性设置、以管理员身份运行并检查我是否获得了 Nods.js 是否会导致问题

提前致谢^=^

最佳答案

您好,您是否在系统中安装了 nodejs。 VS Code 需要 nodejs,因为它是用 electron 构建的。如果您有节点但仍然出现此错误,请尝试重新安装 VS Code。

关于visual-studio-code - 无法启动 VSC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65386507/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com