I have two code repositories. They both have composer.json files (see below). The first composer.json file is required by the second composer.json file, with the former stored remotely on bitbucket.
I have run both composer.json files locally: the first file passes and downloads the vendors as I would expect; the second file, which calls the first file, does not and I get this error:
Problem 1 - The requested package timeago/timeago could not be found in any version, there may be a typo in the package name. Problem 2 - The requested package prettify/prettify could not be found in any version, there may be a typo in the package name. Now, if I remove all repositories from the first file, and their corresponding entries in requires, then all works as expected and the files are downloaded. So, I think the problem lies with the repositories section in the first file somehow. Any ideas?
Here are my two composer files:
File one:
"repositories": { "prettify/prettify": { "type": "package", "package": { "name": "prettify", "version": "dev-master", "source": { "url": "http://google-code-prettify.googlecode.com", "type": "svn", "reference": "svn/trunk" } } }, "timeago/timeago": { "type": "package", "package": { "name": "timeago", "version": "dev-master", "source": { "url": "https://github.com/rmm5t/jquery-timeago.git", "type": "git", "reference": "master" } } }, "require": { "timeago": "dev-master", "prettify": "dev-master", } } File two:
"require": { "vendor/project": "master" },
"minimum-stability": "dev", "prefer-stable": true,to no avail.