I have a project hosted on Github and one of it's dependencies is hosted on Bitbucket. Both repositories are private, but we have access to them.
I've recently added git tag
for versioning, because build server on customer's site did not pick up the most recent version of one dependency.
So the package.json
now looks like this
"ember-custom-adapter": "git+ssh://git@bitbucket.org:path-to-project.git#v0.0.7",
I have made 100% sure that the git tag v0.0.7
is really available on that Bitbucket repository.
But when Travis CI runs the build, it fails with error missing npm packages See screenshot for details
Mark #1 shows the npm install
command being called, but mark #2 shows hint to run it again, because the package was not found. Which does not make sense to me. It used to work without the tags, but for some reason the older version of dependency package was used.
Any ideas?
UPDATE
It is fixed now, but it is still unclear what really caused the issue. It seems that our Travis CI build works a little bit differently than customer's build on Jenkins. So what passed in our Travis, did not work in his Jenkins. Which is weird. I will add current working solution as an answer