node -v
v8.4.0
npm -v
5.4.2
npm install vue-cli -g
... ...
npm ERR! path e:\nodejs\node_global\node_modules\vue-cli\node_modules\js-beautify\js\bin\css-beautify.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'e:\nodejs\node_global\node_modules\vue-cli\node_modules\js-beautify\js\bin\css-beautify.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
... ...

same issues here...
same issues here...
Temporary fix for vue-cli:
Do not install it globally but in a temp folder.
mkdir C:\vue_cli_temp
cd C:\vue_cli_temp
npm install [email protected]
npm install vue-cli
Then you can use the vue-cli installed like this:
C:\vue_cli_temp\node_modules\.bin\vue init simple MyVueProject
What @rrandom said 馃檪
same issue i too facing..,....
I think same issue here. Cannot install vue-cli
If this is helpful:
npm ERR! Linux 4.11.5-200.fc25.x86_64
npm ERR! argv "/usr/bin/node" "/bin/npm" "install" "-g" "vue-cli"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! path /usr/lib/node_modules/vue-cli/node_modules/js-beautify/js/bin/css-beautify.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/lib/node_modules/vue-cli/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/lib/node_modules/vue-cli/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/epsilon/npm-debug.log
npm ERR! code 1
Most helpful comment
see https://github.com/beautify-web/js-beautify/issues/1247