Skip to content

An error occurred while installing. Css-beautify.js #591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wellfrog16 opened this issue Sep 18, 2017 · 7 comments
Closed

An error occurred while installing. Css-beautify.js #591

wellfrog16 opened this issue Sep 18, 2017 · 7 comments

Comments

@wellfrog16
Copy link

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
... ...

image

@trikarai
Copy link

same issues here...

@rrandom
Copy link

rrandom commented Sep 18, 2017

see beautifier/js-beautify#1247

@cuitianze
Copy link

same issues here...

@gafung
Copy link

gafung commented Sep 18, 2017

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

@posva
Copy link
Member

posva commented Sep 18, 2017

What @rrandom said 🙂

@posva posva closed this as completed Sep 18, 2017
@ramavadakattu
Copy link

same issue i too facing..,....

@3psil0n
Copy link

3psil0n commented Sep 18, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants