0down votefavorite
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