Moosh composer install throws Deprecation warning

Moosh composer install throws Deprecation warning

Visvanath Ratnaweera -
回帖数:2
Particularly helpful Moodlers的头像 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.
回复Visvanath Ratnaweera

Re: Moosh composer install throws Deprecation warning

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 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
回复Visvanath Ratnaweera

Re: Moosh composer install throws Deprecation warning

Kyriakos Terzopoulos -
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.