Topic on Extension talk:Maps

Runtime Exception after updating Composer.json

2
2001:982:A21F:1:9CE1:3613:D2B8:CE40 (talkcontribs)

Executing >php composer.phar require mediawiki/maps "*"

gives


./composer.json has been updated > ComposerHookHandler::onPreUpdate

[RuntimeException]   The lock file does not contain require-dev information, run install with the --no-dev option or run update to install those packages.

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [packages1] ... [packagesN]

can anyone tell me what to do?

Ruud Habets

Eze123p (talkcontribs)

You'll need to update first:

php composer.phar update

Takes a minute, be patient

Reply to "Runtime Exception after updating Composer.json"