catalyst / catalyst-moodle-workflows

5 stars 10 forks source link

NodeJS install failure #121

Closed matthewhilton closed 3 months ago

matthewhilton commented 3 months ago

I think something may have changed upstream and there is some sort of rate limit being applied now to nodejs installs?

I've been getting this a ton across various plugins, and usually re-running it gets it to work but the failure rate is pretty high. I don't think its related to anything in the plugin specifically.

[info] Installing Node.js
 RUN  . /home/runner/.nvm/nvm.sh && nvm install && nvm use && echo "NVM_BIN=$NVM_BIN"

In VendorInstaller.php line 135:

  [RuntimeException]            
  Node.js installation failed.  

Exception trace:
  at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/src/Installer/VendorInstaller.php:135
 MoodlePluginCI\Installer\VendorInstaller->installNode() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/src/Installer/VendorInstaller.php:70
 MoodlePluginCI\Installer\VendorInstaller->install() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/src/Installer/Install.php:40
 MoodlePluginCI\Installer\Install->runInstallation() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/src/Command/InstallCommand.php:118
 MoodlePluginCI\Command\InstallCommand->execute() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/vendor/symfony/console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/vendor/symfony/console/Application.php:992
 Symfony\Component\Console\Application->doRunCommand() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/vendor/symfony/console/Application.php:255
 Symfony\Component\Console\Application->doRun() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/vendor/symfony/console/Application.php:148
 Symfony\Component\Console\Application->run() at /home/runner/work/moodle-filter_smartmedia/moodle-filter_smartmedia/ci/bin/moodle-plugin-ci:92

install [--moodle MOODLE] [--data DATA] [--repo REPO] [--branch BRANCH] [--plugin PLUGIN] [--db-type DB-TYPE] [--db-user DB-USER] [--db-pass DB-PASS] [--db-name DB-NAME] [--db-host DB-HOST] [--db-port DB-PORT] [--not-paths NOT-PATHS] [--not-names NOT-NAMES] [--extra-plugins EXTRA-PLUGINS] [--no-init] [--node-version NODE-VERSION]
matthewhilton commented 3 months ago

Looks like its even further upstream: