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

Throws fatal error if main config folder doesn't exist #14

Open
beloglazov91 opened this issue Jul 21, 2024 · 0 comments
Open

Throws fatal error if main config folder doesn't exist #14

beloglazov91 opened this issue Jul 21, 2024 · 0 comments

Comments

@beloglazov91
Copy link

After installing so-sli package on Linux OS and calling so command I've got the following problem:

➜  ~ so
PHP Fatal error:  Uncaught RuntimeException: /home/beloglazov91/.config/so-cli is not a directory in /home/beloglazov91/.config/composer/vendor/systemseed/so-cli/src/Configuration.php:102
Stack trace:
#0 /home/beloglazov91/.config/composer/vendor/systemseed/so-cli/src/Configuration.php(127): SoCli\Configuration->getCommandConfigFiles()
#1 /home/beloglazov91/.config/composer/vendor/systemseed/so-cli/src/CommandManager.php(90): SoCli\Configuration->loadCommandConfigFiles()
#2 /home/beloglazov91/.config/composer/vendor/systemseed/so-cli/src/CommandManager.php(36): SoCli\CommandManager->getCommandsFromFolder()
#3 /home/beloglazov91/.config/composer/vendor/systemseed/so-cli/src/CommandManager.php(60): SoCli\CommandManager->getGlobalCommands()
#4 /home/beloglazov91/.config/composer/vendor/systemseed/so-cli/so(47): SoCli\CommandManager->getCommands()
#5 {main}
  thrown in /home/beloglazov91/.config/composer/vendor/systemseed/so-cli/src/Configuration.php on line 102

When I created ~/.config/so-cli manually that error disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant