Jupyter-PHP-Installer icon indicating copy to clipboard operation
Jupyter-PHP-Installer copied to clipboard

Cannot install with composer 2.x

Open kinosang opened this issue 4 years ago • 2 comments

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.

kinosang avatar Nov 04 '20 06:11 kinosang

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.

schrink avatar Dec 15 '20 10:12 schrink

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_.-]+

WayneDV avatar Feb 03 '23 05:02 WayneDV