Windows fail to launch in VSCode and Cursor

Resolved 💬 4 comments Opened Jun 5, 2025 by wildhash Closed Jul 17, 2025

Failing to launch in Cursor or VSCode, even during Code with Claude Office Hours.
Here are the Cursor logs from Terminal failed launch:
verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@10.9.2
2 info using node@v22.14.0
3 silly config load:file:C:\Program Files\nodejs\node_modules\npm\npmrc
4 silly config load:file:C:\Users\OMNI\.npmrc
5 silly config load:file:C:\Users\OMNI\AppData\Roaming\npm\etc\npmrc
6 verbose title npm install @anthropic-ai/claude-code
7 verbose argv "install" "--global" "@anthropic-ai/claude-code"
8 verbose logfile logs-max:10 dir:C:\Users\OMNI\AppData\Local\npm-cache\_logs\2025-06-05T22_41_39_356Z-
9 verbose logfile C:\Users\OMNI\AppData\Local\npm-cache\_logs\2025-06-05T22_41_39_356Z-debug-0.log
10 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
11 silly logfile start cleaning logs, removing 1 files
12 silly idealTree buildDeps
13 silly fetch manifest @anthropic-ai/claude-code@*
14 silly packumentCache full:https://registry.npmjs.org/@anthropic-ai%2fclaude-code cache-miss
15 silly logfile done cleaning log files
16 http cache https://registry.npmjs.org/@anthropic-ai%2fclaude-code 46ms (cache hit)
17 silly packumentCache full:https://registry.npmjs.org/@anthropic-ai%2fclaude-code set size:268986 disposed:false
18 silly placeDep ROOT @anthropic-ai/claude-code@1.0.15 OK for: want: *
19 silly fetch manifest @img/sharp-linux-arm@^0.33.5
20 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-linux-arm cache-miss
21 silly fetch manifest @img/sharp-linux-x64@^0.33.5
22 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-linux-x64 cache-miss
23 silly fetch manifest @img/sharp-win32-x64@^0.33.5
24 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-win32-x64 cache-miss
25 silly fetch manifest @img/sharp-darwin-x64@^0.33.5
26 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-darwin-x64 cache-miss
27 silly fetch manifest @img/sharp-linux-arm64@^0.33.5
28 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-linux-arm64 cache-miss
29 silly fetch manifest @img/sharp-darwin-arm64@^0.33.5
30 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-darwin-arm64 cache-miss
31 http cache https://registry.npmjs.org/@img%2fsharp-linux-x64 29ms (cache hit)
32 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-linux-x64 set size:46960 disposed:false
33 http cache https://registry.npmjs.org/@img%2fsharp-linux-arm 33ms (cache hit)
34 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-linux-arm set size:47206 disposed:false
35 http cache https://registry.npmjs.org/@img%2fsharp-darwin-x64 34ms (cache hit)
36 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-darwin-x64 set size:46290 disposed:false
37 http cache https://registry.npmjs.org/@img%2fsharp-darwin-arm64 36ms (cache hit)
38 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-darwin-arm64 set size:46939 disposed:false
39 http cache https://registry.npmjs.org/@img%2fsharp-win32-x64 39ms (cache hit)
40 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-win32-x64 set size:49885 disposed:false
41 http cache https://registry.npmjs.org/@img%2fsharp-linux-arm64 42ms (cache hit)
42 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-linux-arm64 set size:47598 disposed:false
43 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-darwin-arm64@0.33.5 OK for: @anthropic-ai/claude-code@1.0.15 want: ^0.33.5
44 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-darwin-x64@0.33.5 OK for: @anthropic-ai/claude-code@1.0.15 want: ^0.33.5
45 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-linux-arm@0.33.5 OK for: @anthropic-ai/claude-code@1.0.15 want: ^0.33.5
46 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-linux-arm64@0.33.5 OK for: @anthropic-ai/claude-code@1.0.15 want: ^0.33.5
47 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-linux-x64@0.33.5 OK for: @anthropic-ai/claude-code@1.0.15 want: ^0.33.5
48 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-win32-x64@0.33.5 OK for: @anthropic-ai/claude-code@1.0.15 want: ^0.33.5
49 silly fetch manifest @img/sharp-libvips-darwin-arm64@1.0.4
50 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-darwin-arm64 cache-miss
51 silly fetch manifest @img/sharp-libvips-darwin-x64@1.0.4
52 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-darwin-x64 cache-miss
53 silly fetch manifest @img/sharp-libvips-linux-arm@1.0.5
54 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm cache-miss
55 silly fetch manifest @img/sharp-libvips-linux-arm64@1.0.4
56 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm64 cache-miss
57 silly fetch manifest @img/sharp-libvips-linux-x64@1.0.4
58 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-linux-x64 cache-miss
59 http cache https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm 27ms (cache hit)
60 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm set size:35610 disposed:false
61 http cache https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm64 29ms (cache hit)
62 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm64 set size:30418 disposed:false
63 http cache https://registry.npmjs.org/@img%2fsharp-libvips-darwin-arm64 34ms (cache hit)
64 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-darwin-arm64 set size:29919 disposed:false
65 http cache https://registry.npmjs.org/@img%2fsharp-libvips-darwin-x64 35ms (cache hit)
66 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-darwin-x64 set size:29624 disposed:false
67 http cache https://registry.npmjs.org/@img%2fsharp-libvips-linux-x64 35ms (cache hit)
68 silly packumentCache full:https://registry.npmjs.org/@img%2fsharp-libvips-linux-x64 set size:30100 disposed:false
69 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-libvips-darwin-arm64@1.0.4 OK for: @img/sharp-darwin-arm64@0.33.5 want: 1.0.4
70 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-libvips-darwin-x64@1.0.4 OK for: @img/sharp-darwin-x64@0.33.5 want: 1.0.4
71 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-libvips-linux-arm@1.0.5 OK for: @img/sharp-linux-arm@0.33.5 want: 1.0.5
72 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-libvips-linux-arm64@1.0.4 OK for: @img/sharp-linux-arm64@0.33.5 want: 1.0.4
73 silly placeDep node_modules/@anthropic-ai/claude-code @img/sharp-libvips-linux-x64@1.0.4 OK for: @img/sharp-linux-x64@0.33.5 want: 1.0.4
74 silly reify moves {}
75 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-libvips-linux-x64
76 silly reify mark deleted [
76 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-libvips-linux-x64'
76 silly reify ]
77 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-libvips-linux-arm64
78 silly reify mark deleted [
78 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-libvips-linux-arm64'
78 silly reify ]
79 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-libvips-linux-arm
80 silly reify mark deleted [
80 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-libvips-linux-arm'
80 silly reify ]
81 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-libvips-darwin-x64
82 silly reify mark deleted [
82 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-libvips-darwin-x64'
82 silly reify ]
83 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-libvips-darwin-arm64
84 silly reify mark deleted [
84 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-libvips-darwin-arm64'
84 silly reify ]
85 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-win32-x64
86 silly reify mark deleted [
86 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-win32-x64'
86 silly reify ]
87 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-linux-x64
88 silly reify mark deleted [
88 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-linux-x64'
88 silly reify ]
89 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-linux-arm64
90 silly reify mark deleted [
90 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-linux-arm64'
90 silly reify ]
91 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-linux-arm
92 silly reify mark deleted [
92 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-linux-arm'
92 silly reify ]
93 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-darwin-x64
94 silly reify mark deleted [
94 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-darwin-x64'
94 silly reify ]
95 verbose reify failed optional dependency C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@img\sharp-darwin-arm64
96 silly reify mark deleted [
96 silly reify 'C:\\Users\\OMNI\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@img\\sharp-darwin-arm64'
96 silly reify ]
97 http cache @anthropic-ai/claude-code@https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.15.tgz 0ms (cache hit)
98 info run @anthropic-ai/claude-code@1.0.15 preinstall node_modules/@anthropic-ai/claude-code node scripts/preinstall.js
99 info run @anthropic-ai/claude-code@1.0.15 preinstall { code: 1, signal: null }
100 verbose stack Error: command failed
100 verbose stack at promiseSpawn (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:22:22)
100 verbose stack at spawnWithShell (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:124:10)
100 verbose stack at promiseSpawn (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:12:12)
100 verbose stack at runScriptPkg (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script-pkg.js:77:13)
100 verbose stack at runScript (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script.js:9:12)
100 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\rebuild.js:329:17
100 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:67:22)
100 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:84:9
100 verbose stack at new Promise (<anonymous>)
100 verbose stack at callLimit (C:\Program Files\nodejs\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:35:69)
101 verbose pkgid @anthropic-ai/claude-code@1.0.15
102 error code 1
103 error path C:\Users\OMNI\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code
104 error command failed
105 error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/preinstall.js
106 error 'node' is not recognized as an internal or external command,
106 error operable program or batch file.
107 silly unfinished npm timer reify 1749163300890
108 silly unfinished npm timer reify:build 1749163306085
109 silly unfinished npm timer build 1749163306085
110 silly unfinished npm timer build:deps 1749163306085
111 silly unfinished npm timer build:run:preinstall 1749163306089
112 silly unfinished npm timer build:run:preinstall:node_modules/@anthropic-ai/claude-code 1749163306090
113 verbose cwd C:\Users\OMNI\super-intelligent-system
114 verbose os Windows_NT 10.0.26100
115 verbose node v22.14.0
116 verbose npm v10.9.2
117 verbose exit 1
118 verbose code 1
119 error A complete log of this run can be found in:

2025-06-05T22_41_39_356Z-debug-0.log

///
happy to provide more

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗