Error: File is stale and needs to be rebuilt
Die Moodle Plugin-CI in den Github Actions können folgenden auf die Javascript-Dateien bezogenen Fehler melden:
"Error: File is stale and needs to be rebuilt".
Ursache
This means that version of node / dependencies you use locally are different to those used in the Moodle version you run the test on.
Lösung
Make sure your local version is matching, easiest way to do it is to run nvm install && nvm use && npm install from Moodle root, then navigate to your plugin dir and run npx grunt amd, and commit changes in minified files.
Links / Quellen
https://github.com/moodlehq/moodle-plugin-ci/issues/319
Autorin: Melanie Treitinger, Ruhr-Universität Bochum
Keine Kommentare vorhanden
Keine Kommentare vorhanden