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

Install npm package from private github repository #118

Open
marcoBros opened this issue Jan 14, 2016 · 1 comment
Open

Install npm package from private github repository #118

marcoBros opened this issue Jan 14, 2016 · 1 comment

Comments

@marcoBros
Copy link

Is it possible to install npm package form private github repo ?

In my packages.json file i put :
{
myPrivatePackage: "git+ssh://[email protected]/MY_ACCOUNT/MY_PACKAGE.git#05f1914dce_COMMIT_HASH_853e9b787558e"
}

But meteor do not asking github username and password. And give me this error :

While reading package from ./packages/npm-container:
package.js:14:7: must declare exact version of dependency: MY_PACKAGE@git+ssh://[email protected]/MY_ACCOUNT/MY_PACKAGE.git#05f1914dce_COMMIT_HASH_853e9b787558e

Is there another way ? Perhaps to install from local directory ?

@luzlab
Copy link

luzlab commented Jun 6, 2016

I'm encountering the same problem. Installing from a private git repo works in Meteor 1.3.2, but I'm running meteor 1.2.1.

I've tried using the following references in my packages.json:
"":"git+ssh://github.com//.git#0.0.0"
"":"git+ssh://github.com///archive/0.0.0.tar.gz"
"":"git+ssh://github.com///archive/.tar.gz"
"":"git+ssh://github.com//.git#"

I can't upgrade to meteor 1.3 since 1.2 is the latest version with available ARM binaries (I'm running this on a pi3).

If there's a workaround, like installing from a local directory, I'd appreciate any details or instructions!

Thank you!

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