Can't install vue-cli -g [MacOS Sierra, node 6/7, npm 3/4] - Solution: "use http in npm registry setting" #15604
Comments
Tried it on Sierra, it worked fined.
|
@amir-s as I stated in initial description, I have issue with node 6.x. |
What happens when you run |
@JamieMason this is what happens. If u expect curl download file - it doesn't. FYI:
|
Thanks, I wanted to see if you could hit the registry URL without being blocked by a firewall or something like that. Can you install other packages? Just not this one? |
@JamieMason as I stated in initial issue, I don't have any firewall settings, especially related to Node/npm or vue-cli . But as soon as I have issue ONLY with vue-cli, I thought it's their issues. Please don't tell me it's their issue :) As u can see, I can install rimraf, grunt-cli and bower with |
Apologies @alundiak, hopefully someone connected to this project can help more. Until then maybe something in Closed issues containing "ETIMEDOUT" can help you. |
@legodude17 yes, I can download via browser (Chrome). PS. I've just recently upgraded to Sierra, so might be some hidden changed by MacOS, so I don't know. But the thing which keep me calm - that I can install other modules, but not vue-cli. I know, that issue might be fixed when I upgrade to node 7.4.0, as @Mir-s mentioned. But it will not the bug fix, rather workaround for me. Unless, vue-cli declare ONLY node 7.x support - then I have to upgrade if so. cc/ @yyx990803 |
I installed node here is logs from
|
Note: My But I dropped folder
And composed folder structures similar as babel-plugin-transform-es2015-
So I did final use case to fix the issue:
Note: I've done it with npm When I tried to UNINSTALL vue-cli by command
AFAIK, it's related to permissions, and I did one more time but with sudo: And vue-cli has been removed. And again I tried So looks like something wrong with vue-cli nodejs module, which requires SUDO for proper installation. And whose fault it is? npm or view-cli? |
FYI, I still couldn't have installed vue-cli on But I discovered, that it's an issue of NPM, and at least changing existed registry
helped me, and I finally installed Vue-CLI :) |
See details:
vuejs/vue-cli#308
Command:
npm install vue-cli -g
Reproduced on:
Reported by others, as working fine (no byg reproduced):
Installed (and removed) successfully, if to use
sudo npm install vue-cli -g
cc/ @yyx990803
The text was updated successfully, but these errors were encountered: