When executing composer require composer require drupal/module, the package fails with

[InvalidArgumentException]
  Could not find a matching version of package drupal/schemaapp. Check the package spelling, your version constraint and that the package is available in a stabilit
  y which matches your minimum-stability (dev).

Cannot add to composer maintained project.

CommentFileSizeAuthor
#6 schemaapp-n3069039-6.patch335 bytesdamienmckenna

Comments

uxmfdesign created an issue. See original summary.

uxmfdesign’s picture

Issue can be resolved by adding the following to your local composer.json.

"require": {
"schemaapp/schemaapp-drupal8": "~1"
},
"repositories": {
  "schema": {
    "type": "vcs",
    "url": "https://git.drupalcode.org/project/schemaapp.git"
  }
}

Then run
composer update

uxmfdesign’s picture

Issue summary: View changes
uxmfdesign’s picture

Mixologic’s picture

This is because there are no releases of this module.

damienmckenna’s picture

Version: » 8.x-1.0
Status: Active » Needs review
StatusFileSize
new335 bytes

This might help too.

nikathone’s picture

Or getting rid entirely of the module composer.json, since no third party dependency is needed for the module.

joelcummings’s picture

joelcummings’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.