The composer.json is invalid because

  • it contains a stray comma on the "drupal/core" requirement, making it invalid JSON, which breaks Drush 9.2 while it scans modules to look for commands.
  • "minimum-stability" specifies "8.x-2.x"; which makes in not match the Composer schema, which only expects values matching ^dev|alpha|beta|rc|RC|stable$
  • The SPDX license identifier is deprecated, needs to use GPL-2.0-or-later instead

Comments

fgm created an issue. See original summary.

fgm’s picture

Issue summary: View changes
fgm’s picture

Issue summary: View changes
fgm’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

Suggested patch. With this patch, "composer validate" passes.

hypertext200’s picture

Status: Needs review » Fixed

  • heshanlk committed 7afa968 on 8.x-2.x authored by fgm
    Issue #2952211 by fgm: Invalid composer.json
    

Status: Fixed » Closed (fixed)

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