-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Hardcoded links that connect to github by SSH instead of HTTP #317
Comments
I don't think the problem is the package.json urls. Those shouldn't affect the install. However, the Gulp 4 dependency is probably the culprit. I'm not sure how to fix this because it is NPM that handles the module installation. All the CLI does is run |
If you know a way to make npm change the way it is working, then please let us know. |
I believe there are two questions on SO that deal with a similar issue: Not sure if it'll solve this issue, but give this a try. Additionally, if that doesn't work, you might need to further specify when npm is using git with ssh. In this case, run this command as well: |
As I already state in SO that solution does not work. NPM will always try to connect to GIT using HTTPS. changing the configuration of GIT allow to download the repo using the GIT command, but NPM source code has hardcoded the protocols to use when a connection to GIT is required. |
Sorry, didn't realize that was you :) I mentioned that solution because that is what had worked for our office when we had the exact same error. |
stale since 2016 |
Maybe can be closed |
Closing this since it's an old issue. We're also working on updating to the official gulp 4 release, which would address this issue. |
I'm submitting a feature request
0.19
Please tell us about your environment:
Operating System:
Windows 7
Node Version:
6.3.1
NPM Version:
3.10.5
Browser:
all
Language:
all
Current behavior:
Trying to perform the command au new --here but at the end of the wizard due to security issues I got:
Expected/desired behavior:
it would be nice to have an option to use http connection to github.com not only the SSH connection
some companies have its development teams behind firewalls and security policies, and are not able to proceed to use this tool
the links to the packages are hardcoded in aurelia-cli\package.json
Line 59: "url": "https://github.com/aurelia/cli/issues"
Line 100: "url": "git+https://github.com/aurelia/cli.git"
Also after the wizard has finished, the gulp dependency in the package.json file states:
gulp": "github:gulpjs/gulp#4.0",
The text was updated successfully, but these errors were encountered: