Unable to pull bitbucket repo dependency from package.json using oauth access token
up vote
0
down vote
favorite
I am trying to pull my dependency by running npm install. I have my dependency declared in my package.json file like below:
"dependencies": {
"mymodule": "git+https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git"
}
I generated the oauth token using This
When I run npm install I get the error: error git: 'remote-git+https' is not a git command. See 'git --help'
Any help would be appreciated.
When I do git clone like below, it clones the repo successfully. However when I declare the dependency in package.json and do npm install it fails.
git clone https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git
git npm oauth bitbucket
add a comment |
up vote
0
down vote
favorite
I am trying to pull my dependency by running npm install. I have my dependency declared in my package.json file like below:
"dependencies": {
"mymodule": "git+https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git"
}
I generated the oauth token using This
When I run npm install I get the error: error git: 'remote-git+https' is not a git command. See 'git --help'
Any help would be appreciated.
When I do git clone like below, it clones the repo successfully. However when I declare the dependency in package.json and do npm install it fails.
git clone https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git
git npm oauth bitbucket
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to pull my dependency by running npm install. I have my dependency declared in my package.json file like below:
"dependencies": {
"mymodule": "git+https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git"
}
I generated the oauth token using This
When I run npm install I get the error: error git: 'remote-git+https' is not a git command. See 'git --help'
Any help would be appreciated.
When I do git clone like below, it clones the repo successfully. However when I declare the dependency in package.json and do npm install it fails.
git clone https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git
git npm oauth bitbucket
I am trying to pull my dependency by running npm install. I have my dependency declared in my package.json file like below:
"dependencies": {
"mymodule": "git+https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git"
}
I generated the oauth token using This
When I run npm install I get the error: error git: 'remote-git+https' is not a git command. See 'git --help'
Any help would be appreciated.
When I do git clone like below, it clones the repo successfully. However when I declare the dependency in package.json and do npm install it fails.
git clone https://x-token-auth:{access-token}@bitbucket.org/team/reponame.git
git npm oauth bitbucket
git npm oauth bitbucket
edited Nov 13 at 13:35
asked Nov 13 at 9:44
Ravi
317
317
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53278080%2funable-to-pull-bitbucket-repo-dependency-from-package-json-using-oauth-access-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown