Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Cannot install with composer 2.x #25

Open
kinosang opened this issue Nov 4, 2020 · 2 comments
Open

Cannot install with composer 2.x #25

kinosang opened this issue Nov 4, 2020 · 2 comments

Comments

@kinosang
Copy link

kinosang commented Nov 4, 2020

The project name jupyter-php-instance is invalid, it will cause ERROR: Error while trying to download Jupyter-PHP dependencies with Composer.

With php ./jupyter-php-installer.signed.phar install -v will get the details:


  [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]+)*$

ERROR: Error while trying to download Jupyter-PHP dependencies with Composer.
@schrink
Copy link

schrink commented Dec 15, 2020

Deprecation warning: Your package name jupyter-php-instance is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "^a-z0-9/a-z0-9$". Make sure you fix this as Composer 2.0 will error.

@WayneDV
Copy link

WayneDV commented Feb 3, 2023

The package name jupyter-php-instance is invalid, it should be lowercase and have a vendor name, a forward slash, and a package name, matching: [a-z0-9_.-]+/[a-z0-9_.-]+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants