Active code page: 65001
C:\Users\dell>node -v
v16.10.0
C:\Users\dell>npm -v
7.24.0
C:\Users\dell>cnpm -v
'cnpm' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\dell>npm install -g cnpm -registry=https://registry.npm.taobao.org
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 276 packages in 60s
1 package is looking for funding
run `npm fund` for details
npm notice
npm notice New patch version of npm available! 7.24.0 -> 7.24.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.24.1
npm notice Run npm install -g npm@7.24.1 to update!
npm notice
C:\Users\dell>cnpm -v
cnpm@7.1.0 (C:\Users\dell\AppData\Roaming\npm\node_modules\cnpm\lib\parse_argv.js)
npm@6.14.15 (C:\Users\dell\AppData\Roaming\npm\node_modules\cnpm\node_modules\npm\lib\npm.js)
node@16.10.0 (C:\Program Files\nodejs\node.exe)
npminstall@5.1.1 (C:\Users\dell\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\lib\index.js)
prefix=C:\Users\dell\AppData\Roaming\npm
win32 x64 10.0.19042
registry=https://registry.npmmirror.com
C:\Users\dell>npm install -g vue/cli
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dell\AppData\Local\npm-cache\_logs\2021-09-28T08_26_10_272Z-debug.log
C:\Users\dell>vue -v
'vue' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\dell>vue -V
'vue' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\dell> npm install -g vue-cli
npm WARN deprecated vue-cli@2.9.6: This package has been deprecated in favour of @vue/cli
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated har-validator