I reinstalled the system yesterday. When I installed the environment today, I kept reporting an error, and I couldn"t find out what the reason was. Both 8.x and 6.x were tried, and it was the same error.
C:\Users\Administrator>node -v
v6.12.0
C:\Users\Administrator>npm -v
6.3.0
C:\Users\Administrator>npm install -g cnpm --registry=https://registry.npm.taobao.org
npm ERR! path C:\Program Files\nodejs\node.exe
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn C:\Program Files\nodejs\node.exe
npm ERR! enoent spawn C:\Program Files\nodejs\node.exe ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
C:\Users\Administrator\AppData\Roaming\npm\cnpm -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\cnpm\bin\cnpm
+ cnpm@6.0.0
added 633 packages from 834 contributors and updated 1 package in 26.798s
npm ERR! Callback called more than once.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-08-12T09_30_47_127Z-debug.log
what is the situation of the bosses?-sharp-sharp-sharp problem description
the platform version of the problem and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)