-
-
Notifications
You must be signed in to change notification settings - Fork 611
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 via npm #326
Comments
Thanks for your quick reply! So is there any way for me to use webpack via CLI right now? Do I have to install a previous version of webpack which does not rely on webpack-cli? |
Just install webpack-cli 2.0.9 for now. |
Thank you, guys! |
Duplicate of #161 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm learning JavaScript and would like to use webpack, so I've installed it via
npm install --save-dev webpack
without any problems.When executing
node_modules\.bin\webpack webpack.config.js
, it says that I have to installwebpack-cli
, so I rannpm install webpack-cli -D
. This command takes extremely long for fetching the metadata and fails after approximately one minute with the following error:npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/ev1stensberg/generator.git npm ERR! npm ERR! ssh: connect to host github.com port 22: Connection refused npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! npm ERR! exited with error code: 128
I'm behind a corporate proxy, for sure, but I've configured the npm proxy settings and fetching other modules is not a problem. Only
webpack-cli
doesn't seem to work.The text was updated successfully, but these errors were encountered: