#Yarn dependency error
1 messages · Page 1 of 1 (latest)
You appear to be experiencing a common issue with Yarn dependencies. To fix this, run the commands mentioned below while inside your Pterodactyl folder.
- Remove the node_modules folder with the
rm -r node_modulescommand. - Run
yarnto initialize and download dependencies. - Run
yarn add cross-envto download and install cross-env, which is a required dependency of Blueprint. - Execute
blueprint -rerun-installand it should run without errors.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[INFO] Updating route cache to include recent changes..
[INFO] Disable maintenance.
[INFO] Syncing database values..
PHP Warning: require(/var/www/pterodactyl/vendor/composer/../../app/helpers.php): Failed to open stream: No such file or directory in /var/www/pterodactyl/vendor/composer/autoload_real.php on line 41
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/pterodactyl/vendor/composer/../../app/helpers.php' (include_path='.:/usr/share/php') in /var/www/pterodactyl/vendor/composer/autoload_real.php:41
Stack trace:
#0 /var/www/pterodactyl/vendor/composer/autoload_real.php(45): {closure}()
#1 /var/www/pterodactyl/vendor/autoload.php(25): ComposerAutoloaderInitc825c79676768901c780446d7550a7f6::getLoader()
#2 /var/www/pterodactyl/artisan(18): require('...')
#3 {main}
thrown in /var/www/pterodactyl/vendor/composer/autoload_real.php on line 41```
Can I get some help pls