Check the npm version after nodejs installation and report an error

check the npm version after nodejs installation, and report an error
error message such as screenshot

clipboard.png
the log information is as follows:
0 info it worked if it ends with ok
1 verbose cli ["E:\ Program Files\ nodejs\ node.exe",
1 verbose cli"E:\ Program Files\ nodejs\ node_modules\ npm\ npm-cli.js",
1 verbose cli "prefix",
1 verbose cli"- g"]
2 info using npm@6.4.1
3 info using node@v10.14.1
4 verbose stack Error: spawn E:Program Filesnodejsnode.exe ENOENT
4 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
4 verbose stack at onErrorNT (internal/child_process.js:407:16)
4 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19)
5 verbose cwd C:UsersAdministrator
6 verbose Windows _ NT 10.0.16299
7 verbose argv "E:\ Program Files\ nodejs\ node.exe"E:\ Program Files\ nodejs\ node_modules\ npm\ bin\ npm-cli.js"prefix"-g "
8 verbose node v10.14.1
9 verbose npm v6.4.1
10 error path E:Program Filesnodejsnode.exe
11 error code ENOENT
12 error errno ENOENT
13 error syscall spawn E:Program Filesnodejsnode.exe
14 error enoent spawn E:Program Filesnodejsnode.exe ENOENT
15 error enoent This is related to npm not being able to find a file.
16 verbose exit [1, True]

< hr >

Baidu and Google show that reinstalling after uninstalling nodejs can solve the problem: trying 5 pens 6 times is invalid!
this includes trying to extract it with the installation packages of msi and binaries and configure the environment variables yourself.
can"t solve the problem

Jan.20,2022

have you solved it

Menu