This repository was archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Fix "no matching package found" error #4
Copy link
Copy link
Open
Description
While trying to install this module using composer I'm getting following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for drupal/simplemde 1.0-alpha3 -> satisfiable by drupal/simplemde[1.0.0-alpha3].
- drupal/simplemde 1.0.0-alpha3 requires sparksuite/simplemde-markdown-editor 1.11.2 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Steps to reproduce:
- Add
"drupal/simplemde": "1.0-alpha3",to your composer.json; - Run
composer update;
I'm not sure what is causing this.
Workaround solution:
Add simplemde-markdown-editor in repositories of your composer.json file:
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "package",
"package": {
"name": "sparksuite/simplemde-markdown-editor",
"version": "1.11.2",
"type": "drupal-library",
"dist": {
"url": "https://github.com/sparksuite/simplemde-markdown-editor/archive/1.11.2.zip",
"type": "zip"
}
}
}
],
Even workaround solution prevents the error, module itself still can't be enabled if you don't add "drupal/markdown": "1.2", as a dependency under your main composer.json, but this might be scope of another issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels