` npx create t3-app@latest` returns `npm ERR! could not determine executable to run`

Here are the logs:
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:C:\dev\.npmrc Completed in 0ms
10 timing config:load:project Completed in 1ms
11 timing config:load:file:C:\Users\Oemer\.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\Oemer\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 8ms
17 timing npm:load:configload Completed in 8ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm exec create t3-app@latest
21 verbose argv "exec" "--" "create" "t3-app@latest"
22 timing npm:load:setTitle Completed in 1ms
23 timing config:load:flatten Completed in 2ms
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:C:\dev\.npmrc Completed in 0ms
10 timing config:load:project Completed in 1ms
11 timing config:load:file:C:\Users\Oemer\.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\Oemer\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 8ms
17 timing npm:load:configload Completed in 8ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm exec create t3-app@latest
21 verbose argv "exec" "--" "create" "t3-app@latest"
22 timing npm:load:setTitle Completed in 1ms
23 timing config:load:flatten Completed in 2ms
No description
Solution:
Ok with pnpm create t3-app@latest it seems to work now..
Jump to solution
2 Replies
oemer
oemerOP14mo ago
Second part of logs:
24 timing npm:load:display Completed in 2ms
25 verbose logfile logs-max:10 dir:C:\Users\Oemer\AppData\Local\npm-cache\_logs\2023-10-25T09_47_46_304Z-
26 verbose logfile C:\Users\Oemer\AppData\Local\npm-cache\_logs\2023-10-25T09_47_46_304Z-debug-0.log
27 timing npm:load:logFile Completed in 16ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 29ms
31 timing arborist:ctor Completed in 0ms
32 silly logfile start cleaning logs, removing 2 files
33 silly logfile done cleaning log files
34 http fetch GET 200 https://registry.npmjs.org/create 848ms (cache revalidated)
35 timing command:exec Completed in 864ms
36 verbose stack Error: could not determine executable to run
36 verbose stack at getBinFromManifest (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\get-bin-from-manifest.js:17:23)
36 verbose stack at exec (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\index.js:188:15)
36 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:89:5)
37 verbose pkgid [email protected]
38 verbose cwd C:\dev
39 verbose Windows_NT 10.0.22621
40 verbose node v18.17.1
41 verbose npm v9.6.7
42 error could not determine executable to run
43 verbose exit 1
44 timing npm Completed in 1105ms
45 verbose code 1
46 error A complete log of this run can be found in: C:\Users\Oemer\AppData\Local\npm-cache\_logs\2023-10-25T09_47_46_304Z-debug-0.log
24 timing npm:load:display Completed in 2ms
25 verbose logfile logs-max:10 dir:C:\Users\Oemer\AppData\Local\npm-cache\_logs\2023-10-25T09_47_46_304Z-
26 verbose logfile C:\Users\Oemer\AppData\Local\npm-cache\_logs\2023-10-25T09_47_46_304Z-debug-0.log
27 timing npm:load:logFile Completed in 16ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 29ms
31 timing arborist:ctor Completed in 0ms
32 silly logfile start cleaning logs, removing 2 files
33 silly logfile done cleaning log files
34 http fetch GET 200 https://registry.npmjs.org/create 848ms (cache revalidated)
35 timing command:exec Completed in 864ms
36 verbose stack Error: could not determine executable to run
36 verbose stack at getBinFromManifest (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\get-bin-from-manifest.js:17:23)
36 verbose stack at exec (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\index.js:188:15)
36 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:89:5)
37 verbose pkgid [email protected]
38 verbose cwd C:\dev
39 verbose Windows_NT 10.0.22621
40 verbose node v18.17.1
41 verbose npm v9.6.7
42 error could not determine executable to run
43 verbose exit 1
44 timing npm Completed in 1105ms
45 verbose code 1
46 error A complete log of this run can be found in: C:\Users\Oemer\AppData\Local\npm-cache\_logs\2023-10-25T09_47_46_304Z-debug-0.log
running on node v18.17.1
Solution
oemer
oemer14mo ago
Ok with pnpm create t3-app@latest it seems to work now..
Want results from more Discord servers?
Add your server