-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
Cannot install webpack-cli using npm #182
Comments
Hi! Could you post a stacktrace for us? I.E print a screenshot of your terminal? |
Sure, here it is:
|
Are you behind a proxy? It looks like it's related to the cli but to a connection error to github |
I've also realized that is a connection problem looking at the logs, but I've never experienced a problem like this in the recent past with other tools. My first googlings take on this issue: that seems to be the exact problem that I have now. So I think that it's not very likely that is a proxy problem. But I'm investigating yet with infos from ev1stensberg. |
A little update: I attach a clean log of the exceution of the command. What I see is that the connection time out is related to this repo: /usr/bin/git ls-remote -h -t git://github.com/kalcifer/recast.git |
@trignolo Recast & Yeoman are local forks, so that makes sense. Planning to remove those after we've migrated into |
Any updates on this issue? Thanks |
I get similar error: > npm install webpack-cli@latest
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/ev1stensberg/generator.git
npm ERR!
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.253.112]: errno=No such file or directory
npm ERR! github.com[1: 192.30.253.113]: errno=No such file or directory
npm ERR!
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in: |
I also get the same 'error' as above. I think it may have to do with some kind of local network settings. If I try running these commands: git ls-remote -h -t git://github.com/ev1stensberg/generator.git git ls-remote -h -t https://github.com/ev1stensberg/generator.git The second command works, while the first doesn't. So the issue (at least for me) seems connected to the use of the git protocol. |
It's the fork that won't let you download through a secure network. Planning to fix this soon, promise. Alternative is to download the generator manually and link it to a cloned version of the cli if you really need to use it |
@ev1stensberg Thanks |
👍 Waiting on the fix here as well. Best. |
Is the switch to use |
Just made a PR as temporary fix :) |
Awesome sauce 🎉🎉 |
Any chance a new version of webpack-cli, with the recent merge, could be published on npm? |
I'll have a chat with the team this week. We need to merge some long standing PRs like adding test cases from webpack and another minor one |
@ev1stensberg Any word on when a new version can be published to npm? Very inconvenient not being able to run npm install on certain projects while in the office. |
|
I'm still unable to |
@TomFoyster Most likely it could be because of #161. There's currently an issue with installation when we're behind a proxy. |
@dhruvdutt Correct, I found that weirdly if I connected to our VPN I was able to download it without issue! |
I'm trying to install webpack-cli with npm, but I'm getting error code 128.
Thanks in advance
The text was updated successfully, but these errors were encountered: