Skip to content

composer.json file is not compatible with latest composer version (2.0.7)? #10

Open
@OttoCaldwell

Description

@OttoCaldwell

I am getting this error when running composer install with a clone of this repo:

[Composer\Json\JsonValidationException]
./composer.json does not match the expected JSON schema:
- name : Does not match the regex pattern ^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$

It seems composer needs a '/' in the name field. I tried replacing the '-' with a '/', as below and it seems to get past this issue:

{
"name": "intuit/demos-webhooks"
....

but I don't know if that is the correct fix or not...just a test and it seemed to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions