메뉴 건너뛰기

테마,플러그인 설치시 실퍠하는 이유?

안녕하세요

xe설치하고 테마나 플러그인 설치시 실패로 뜨는 이유가 뭘까요?

composer 설치가 되었있는데요..


 

 

<warning>
Information of the plugin that should be installed:</warning>
  Cosmo 테마 플러그인 - xpressengine-plugin/cosmo:1.0.2

<warning>Clears the cache before the operation run.</warning>
Cache cleared successfully. XE cache has also been cleared.


<warning>Composer update command is running.. It may take up to a few minutes.</warning>
 composer update --with-dependencies xpressengine-plugin/cosmo
<warning> Checking file permission: </warning>
 C:\xampp\htdocs\xe\storage\app/composer.plugins.json - passed
 C:\xampp\htdocs\xe\storage\app/operations.json - passed
 C:\xampp\htdocs\xe\composer.lock - passed
 C:\xampp\htdocs\xe\plugins/ - passed
 C:\xampp\htdocs\xe\vendor/ - passed
 C:\xampp\htdocs\xe\vendor/composer/installed.json - passed

<warning> Checking COMPOSER_HOME environment variable: </warning>
[2019-12-26 11:13:09] production.ERROR: COMPOSER_HOME environment variable must be set for composer to run correctly. set the variable to http://127.0.0.1/settings/setting {"exception":"[object] (Exception(code: 0): COMPOSER_HOME environment variable must be set for composer to run correctly. set the variable to http://127.0.0.1/settings/setting at C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\ComposerRunTrait.php:102)
[stacktrace]
#0 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\ComposerRunTrait.php(78): App\\Console\\Commands\\ShouldOperation->checkComposerHome()
#1 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\PluginCommand.php(148): App\\Console\\Commands\\ShouldOperation->prepareComposer()
#2 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\PluginInstall.php(83): App\\Console\\Commands\\PluginCommand->composerUpdate(Array)
#3 [internal function]: App\\Console\\Commands\\PluginInstall->App\\Console\\Commands\\{closure}(Object(Xpressengine\\Foundation\\Operator))
#4 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\ShouldOperation.php(112): call_user_func(Object(Closure), Object(Xpressengine\\Foundation\\Operator))
#5 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\ShouldOperation.php(165): App\\Console\\Commands\\ShouldOperation->start('plugin', Object(Closure), Object(Closure))
#6 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\PluginInstall.php(90): App\\Console\\Commands\\ShouldOperation->startPlugin(Object(Closure), Object(Closure))
#7 [internal function]: App\\Console\\Commands\\PluginInstall->handle()
#8 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(29): call_user_func_array(Array, Array)
#9 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#10 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Xpressengine\\Foundation\\Application), Array, Object(Closure))
#11 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Xpressengine\\Foundation\\Application), Array, Array, NULL)
#12 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(183): Illuminate\\Container\\Container->call(Array)
#13 C:\\xampp\\htdocs\\xe\\vendor\\symfony\\console\\Command\\Command.php(255): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#14 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#15 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\ShouldOperation.php(82): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(App\\Console\\MultipleOutput))
#16 C:\\xampp\\htdocs\\xe\\app\\Console\\Commands\\PluginCommand.php(75): App\\Console\\Commands\\ShouldOperation->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(App\\Console\\MultipleOutput))
#17 C:\\xampp\\htdocs\\xe\\vendor\\symfony\\console\\Application.php(982): App\\Console\\Commands\\PluginCommand->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#18 C:\\xampp\\htdocs\\xe\\vendor\\symfony\\console\\Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(App\\Console\\Commands\\PluginInstall), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#19 C:\\xampp\\htdocs\\xe\\vendor\\symfony\\console\\Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#20 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#21 C:\\xampp\\htdocs\\xe\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#22 C:\\xampp\\htdocs\\xe\\app\\Console\\Kernel.php(126): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 C:\\xampp\\htdocs\\xe\\artisan(45): App\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 {main}
"} 
 

 

에러부분을 번역해보니

 

production.ERROR : composer가 올바르게 실행 되려면 COMPOSER_HOME 환경 변수를 설정해야합니다. 변수를 http://127.0.0.1/settings/setting { "exception": "[object]로 설정하십시오 (예외 (코드 : 0) : composer가 올바르게 실행되도록 COMPOSER_HOME 환경 변수를 설정해야합니다. 변수를 http :로 설정하십시오. //127.0.0.1/settings/setting at

 

어떻게 해결해야하나요?


 

COMPOSER_HOME 환경 변수를 설정 이렇게 하는게 맞는걸까요? 

 

  • share