C:UsersAdministratorDesktopeleme>npm i -g vue-cli
npm ERR! path C:UsersAdministratorAppDataRoamingnpmnode_modulesvue-clino
de_modulesuglify-js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:UsersAdministrato
rAppDataRoamingnpmnode_modulesvue-clinode_modulesuglify-js' -> 'C:Users\
AdministratorAppDataRoamingnpmnode_modulesvue-clinode_modules.uglify-js.D
ELETE'
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:UsersAdministratorAppDataRoamingnpm-cache_logs2017-06-24T0
8_38_51_835Z-debug.log
C:UsersAdministratorDesktopeleme>npm i vue-cli -g
npm ERR! path C:UsersAdministratorAppDataRoamingnpmnode_modulesvue-clino
de_modulesuglify-js
I tried it and it can be installed, no problem. Is it a problem with your network or nodejs version
Try replacing yarn installation
npm problem, it is recommended to reinstall npm