Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS install failure #121

Closed
matthewhilton opened this issue Aug 9, 2024 · 1 comment · Fixed by #124
Closed

NodeJS install failure #121

matthewhilton opened this issue Aug 9, 2024 · 1 comment · Fixed by #124

Comments

@matthewhilton
Copy link
Contributor

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
Copy link
Contributor Author

Looks like its even further upstream:

matthewhilton added a commit to matthewhilton/catalyst-moodle-workflows that referenced this issue Aug 19, 2024
matthewhilton added a commit to matthewhilton/catalyst-moodle-workflows that referenced this issue Aug 19, 2024
matthewhilton added a commit to matthewhilton/catalyst-moodle-workflows that referenced this issue Aug 19, 2024
matthewhilton added a commit to matthewhilton/catalyst-moodle-workflows that referenced this issue Aug 19, 2024
matthewhilton added a commit to matthewhilton/catalyst-moodle-workflows that referenced this issue Aug 19, 2024
matthewhilton added a commit that referenced this issue Dec 2, 2024
matthewhilton added a commit that referenced this issue Dec 2, 2024
Revert "[#121] Switch to lower nvm version"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants
@matthewhilton and others