"Exit code: 1" when running "yarn install" for BitBucket repo

I had a public github repo in the `dependencies` section of my `package.json`, and it worked fine. It looked like this:

> git+ssh://git@github.com/TheUser/TheRepo.git#TheCommitHash

I tried adding another one (a private BitBucket repo that I've created):

> git+ssh://git@bitbucket.org/stremio/stremio-qml-kit.git#be6d087ad9a481519a4766da893c3be74a6b8819

and when I ran `yarn install`, I got:

yarn install v1.2.0
[1/4] Resolving packages...
error Command failed.
Exit code: 1
Command: git
Arguments: archive --remote=ssh://git@bitbucket.org/stremio/stremio-qml-kit.git refs/heads/master package.json
Directory: /home/stefan/Desktop/jobsrc/wifi-setup
Output:

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Any ideas?

**Note:** I tried running this manually:

> git archive --remote=ssh://git@bitbucket.org/stremio/stremio-qml-kit.git refs/heads/master package.json

and got:

fatal: sent error to the client: git upload-archive: archiver died with error
remote: fatal: pathspec 'package.json' did not match any files
remote: git upload-archive: archiver died with error

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

212 views 14 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you