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

Error on "Writing composer.json"

Open lxrmido opened this issue 3 years ago • 2 comments

php ./jupyter-php-installer.phar install -vvv

Writing composer.json

[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$

lxrmido avatar Mar 25 '21 03:03 lxrmido

[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$

kasuganosora avatar Jun 17 '21 07:06 kasuganosora

Hi, just faced this installation issue yesterday.

I was using composer v2 by default, by changing composer to v1 installation went fine.

Check your composer version:

composer --version

If you are running v2, you can "update" (revert) to v1 by using this command:

composer self-update --1

Then install the Jupyter-PHP Kernel as usua:

php ./jupyter-php-installer.phar install

And if you prefer, after installing, revert back to v2 using this command:

composer self-update --2

Hope this helps.

rodrigopedra avatar Jul 14 '21 09:07 rodrigopedra