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

Error on "Writing composer.json" #33

Open
lxrmido opened this issue Mar 25, 2021 · 2 comments
Open

Error on "Writing composer.json" #33

lxrmido opened this issue Mar 25, 2021 · 2 comments

Comments

@lxrmido
Copy link

lxrmido commented Mar 25, 2021

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

Writing composer.json

[Composer\Json\JsonValidationException]
"./composer.json" does not match the expected JSON schema:

@kasuganosora
Copy link

[Composer\Json\JsonValidationException]
"./composer.json" does not match the expected JSON schema:

@rodrigopedra
Copy link

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.

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