Getting “npm ERR! code ENOENT” while running npx

I an currently learning React with Javascript. I was able to install node.js without any errors. But when i try to create react project, its throws an error like this:

npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:Program FilesGitusrlocal
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:Program FilesGitusrlocal'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

and this the error log

0 verbose cli C:Program Filesnodejsnode.exe C:Program Filesnodejsnode_modulesnpmbinnpm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 6ms
4 timing config:load:defaults Completed in 4ms
5 timing config:load:file:C:Program Filesnodejsnode_modulesnpmnpmrc Completed in 4ms
6 timing config:load:builtin Completed in 4ms
7 timing config:load:cli Completed in 4ms
8 timing config:load:env Completed in 2ms
9 timing config:load:project Completed in 2ms
10 timing config:load:file:C:UsersTHAIPAK KEL.npmrc Completed in 1ms
11 timing config:load:user Completed in 2ms
12 timing config:load:file:C:Program FilesGitusrlocaletcnpmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:setEnvs Completed in 3ms
15 timing config:load Completed in 23ms
16 timing npm:load:configload Completed in 23ms
17 timing npm:load:mkdirpcache Completed in 1ms
18 timing npm:load:mkdirplogs Completed in 1ms
19 verbose title npm exec create-react-app nyube
20 verbose argv "exec" "--" "create-react-app" "nyube"
21 timing npm:load:setTitle Completed in 3ms
22 timing config:load:flatten Completed in 9ms
23 timing npm:load:display Completed in 10ms
24 verbose logfile logs-max:10 dir:C:UsersTHAIPAK KELAppDataLocalnpm-cache_logs2023-05-26T03_41_02_876Z-
25 verbose logfile C:UsersTHAIPAK KELAppDataLocalnpm-cache_logs2023-05-26T03_41_02_876Z-debug-0.log
26 timing npm:load:logFile Completed in 19ms
27 timing npm:load:timers Completed in 0ms
28 timing npm:load:configScope Completed in 1ms
29 timing npm:load Completed in 65ms
30 silly logfile start cleaning logs, removing 2 files
31 timing arborist:ctor Completed in 2ms
32 silly logfile done cleaning log files
33 timing arborist:ctor Completed in 0ms
34 http fetch GET 200 2163ms (cache revalidated)
35 timing arborist:ctor Completed in 1ms
36 timing command:exec Completed in 2817ms
37 verbose stack Error: ENOENT: no such file or directory, lstat 'C:Program FilesGitusrlocal'
38 verbose cwd C:UsersTHAIPAK KELDesktop
39 verbose Windows_NT 10.0.17763
40 verbose node v18.16.0
41 verbose npm  v9.5.1
42 error code ENOENT
43 error syscall lstat
44 error path C:Program FilesGitusrlocal
45 error errno -4058
46 error enoent ENOENT: no such file or directory, lstat 'C:Program FilesGitusrlocal'
47 error enoent This is related to npm not being able to find a file.
47 error enoent
48 verbose exit -4058
49 timing npm Completed in 3135ms
50 verbose code -4058
51 error A complete log of this run can be found in:
51 error     C:UsersTHAIPAK KELAppDataLocalnpm-cache_logs2023-05-26T03_41_02_876Z-debug-0.log

your input will be appreciated.

I also tried to delete npm cache and it also didn’t work.