Skip to content

Install npm package from private github repository #118

Open
@marcoBros

Description

@marcoBros

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions