moosh icon indicating copy to clipboard operation
moosh copied to clipboard

Installation from packagist

Open Mihailoff opened this issue 9 years ago • 3 comments

After #133 moosh must be installable by running composer require tmuras/moosh but dependencies fail.

composer require tmuras/moosh dev-master
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for tmuras/moosh dev-master -> satisfiable by tmuras/moosh[dev-master].
    - tmuras/moosh dev-master requires jamiepratt/moodle-qtype_template dev-master#bf2b7bc641c1db5c4889e4cc78ee3c2225398871 -> no matching package found.

Mihailoff avatar Nov 23 '16 19:11 Mihailoff

Just tried to install 0.26 with composer and got

  Problem 1
    - Installation request for tmuras/moosh 0.26 -> satisfiable by tmuras/moosh[0.26].
    - tmuras/moosh 0.26 requires mudrd8mz/moodle-tool_pluginskel dev-master -> no matching package found.

johnennewdeeson avatar Oct 19 '18 20:10 johnennewdeeson

If I set:

  "prefer-stable": true,
  "minimum-stability": "dev",
  "require-dev": {
    "tmuras/moosh": "0.*"
  },

Then the result is no moosh:

  Problem 1
    - tmuras/moosh 0.26 requires mudrd8mz/moodle-tool_pluginskel dev-master -> no matching package found.
    - tmuras/moosh 0.25 requires moodlehq/moodle-mod_newmodule dev-master#e1f112be8842291259ece87de3000cd5f0e18711 -> no matching package found.
    - tmuras/moosh 0.24 requires moodlehq/moodle-mod_newmodule dev-master#e1f112be8842291259ece87de3000cd5f0e18711 -> no matching package found.
    - tmuras/moosh 0.18 requires moodlehq/moodle-mod_newmodule dev-master#887786145a472e190eab3cc1dad29e22c948cb8f -> no matching package found.
    - Installation request for tmuras/moosh 0.* -> satisfiable by tmuras/moosh[0.18, 0.24, 0.25, 0.26].

If you require dev-master, still no moosh:

  "prefer-stable": true,
  "minimum-stability": "dev",
  "require-dev": {
    "tmuras/moosh": "dev-master"
  },
  Problem 1
    - Installation request for tmuras/moosh dev-master -> satisfiable by tmuras/moosh[dev-master].
    - tmuras/moosh dev-master requires moodlehq/moodle-local_wstemplate dev-master#add2ad0949e72f025c0aad36c4b822e8c6479d3b -> no matching package found.

johnennewdeeson avatar Oct 19 '18 20:10 johnennewdeeson

Has anyone come up with a solution? I am trying to install it using composer too and am experiencing the exact same issue.

michael-milette avatar Sep 30 '20 18:09 michael-milette