PHP Fatal error: Vendor library

Error: Uncaught RuntimeException: The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly in /vendor/composer/composer/src/Composer/Factory.php:624
Stack trace:
#0 /vendor/composer/composer/src/Composer/Factory.php(67): Composer\Factory::getUserDir()
#1 /vendor/composer/composer/src/Composer/Factory.php(158): Composer\Factory::getHomeDir()
#2 /vendor/composer/composer/src/Composer/Factory.php(285): Composer\Factory::createConfig(Object(Composer\IO\BufferIO), '/storage/conten...')
#3 /vendor/composer/composer/src/Composer/Factory.php(552): Composer\Factory->createComposer(Object(Composer\IO\BufferIO), Array, false)
#4 /vendor/bolt/bolt/src/Composer/Action/BaseAction.php(74): Com

File: /vendor/composer/composer/src/Composer/Factory.php
Line: 624