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

Dependants by Git URL #16

Open
denis-sokolov opened this issue Dec 12, 2014 · 1 comment
Open

Dependants by Git URL #16

denis-sokolov opened this issue Dec 12, 2014 · 1 comment

Comments

@denis-sokolov
Copy link
Contributor

I need to add a dependant by Git URL, because the tests in it are added to .npmignore (see #15).

I have tried adding a dependant by Git URL using git+ssh syntax from package.json (git+ssh://git@example.com:example.git#master), but it tried to install git+ssh instead:

testing dependents [ 'git+ssh:' ]
testing git+ssh:
  installing git+ssh:
npm returned 1
errors:

I have tried adding a dependant by Git URL (git@example.com:example.git), but it prepended github.com:

testing dependents [ 'git@example.com:example.git' ]
testing git@example.com:example.git
  installing git@example.com:example.git
npm returned 1
errors:
npm ERR! git clone git@github.com:example.com:example.git Cloning into bare repository '/home/<snip>'...

Is there any way to do it manually? Perhaps it should be considered to add one?

@bahmutov
Copy link
Owner

Hmm, not sure how it handles the git url dependency, need to check

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