Moosh composer install throws Deprecation warning

Moosh composer install throws Deprecation warning

by Visvanath Ratnaweera -
Number of replies: 2
Picture of Particularly helpful Moodlers Picture of Translators
After getting the current Moosh from GitHub:

# composer install
Deprecation warning: require.jamiepratt/moodle-qtype_TEMPLATE is invalid, it should not contain uppercase characters. Please use jamiepratt/moodle-qtype_template instead. Make sure you fix this as Composer 2.0 will error.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
...


Installation continues and Moosh works. Just as a reminder for the developer.
Average of ratings: -
In reply to Visvanath Ratnaweera

Re: Moosh composer install throws Deprecation warning

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
I should have mentioned that the system is Debian 10 "buster", PHP 7.3 and:
  ______
  / ____/___  ____ ___  ____  ____  ________  _____
/ /  / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer 1.8.4 2019-02-11 10:52:10
In reply to Visvanath Ratnaweera

Re: Moosh composer install throws Deprecation warning

by Kyriakos Terzopoulos -
Picture of Translators
After cloning the latest master branch, it seems that this is now a fatal error. The installation does not continue.

To resolve this error I replaced "TEMPLATE" with "template" in the composer.json file.

Average of ratings: Useful (1)