Skip to content
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

macOS cannot install using npm #595

Closed
henryhe1993 opened this issue Sep 18, 2017 · 1 comment
Closed

macOS cannot install using npm #595

henryhe1993 opened this issue Sep 18, 2017 · 1 comment

Comments

@henryhe1993
Copy link

My environment: MacOS version 10.12.6

I am quite new to Nodejs and npm, so it might be a silly question to ask.

Basically, I cannot install vue-cli using npm (sudo npm install -g vue-cli). Initially, I tried the latest version of npm(5.4.2) and nodejs(8.5.0), which reported: ENOENT: no such file or directory, access '/usr/local/lib/node_modules/vue-cli/node_modules/js-beautify/js/bin/css-beautify.js.

Then I downgraded my npm to 3.10.10 and nodejs to 6.10.3. A similar(or same?) problem still exists, which says: ENOENT: no such file or directory, access '/usr/local/lib/node_modules/vue-cli/node_modules/abbrev'.

For a test, I could successfully install jslint using npm command.

I heard that there is an issue with js-beautify, which might be the answer to my first problem. But I cannot figure out the second one (abbrev one).

Any help will be appreciated. Btw, I am in china using shadowsocks to perform the installation. Is it likely to be the issue(though i don't think so).

@posva
Copy link
Member

posva commented Sep 18, 2017

dup of #591
It will be fixed very soon

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

2 participants