I have installed field_collection module with composer command by running this command

composer require 'drupal/field_collection:^1.0'

The module downloaded to /module/contrib folder
when i open the composer.json file the content is

{
    "name": "drupal/page_manager",
    "description": "Provides a way to place blocks on a custom page.",
    "type": "drupal-module",
    "homepage": "https://www.drupal.org/project/page_manager",
    "authors": [
        {
            "name": "Tim Plunkett",
            "homepage": "https://www.drupal.org/u/tim.plunkett",
            "role": "Maintainer"
        }
    ],
    "support": {
        "issues": "https://www.drupal.org/project/issues/page_manager",
        "irc": "irc://irc.freenode.org/drupal-contribute",
        "source": "https://git.drupal.org/project/page_manager.git"
    },
    "license": "GPL-2.0+",
    "minimum-stability": "dev",
    "require": {
        "drupal/ctools": "~3"
    }
}

Please provide a patch with improvement in composer.json file

Comments

mahtab_alam created an issue. See original summary.

mahtab_alam’s picture

Title: Missing composer.json file » Issue in composer.json file
Version: 8.x-3.x-dev » 8.x-1.0-alpha1
Category: Task » Bug report
Priority: Normal » Major
Issue summary: View changes
mahtab_alam’s picture

Issue summary: View changes
renatog’s picture

Assigned: Unassigned » renatog
Priority: Major » Normal

  • RenatoG committed 612b73d on 8.x-3.x
    Issue #3026274 by mahtab_alam, RenatoG: Issue in composer.json file
    
renatog’s picture

Status: Active » Fixed

Fixed on the dev branch.

Thank you very much.

Best,

Status: Fixed » Closed (fixed)

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