Ola pessoal.
Edit: Antes de mais nada, já realizei os passos de corrigir os scripts .sh para o formato do Unix.
alura-ms-front-1
Apresenta o seguinte erro no log:
> front-end@0.0.0 start
> ng serve --host=0.0.0.0 --port 4200
sh: 1: ng: not found
Pesquisei um pouco e, ao que parece, é um erro relacionado ao CLI do Angular (pode nao estar instalado). Achei estranho, pois no script de entrypoint.sh ele realiza o npm install.
alura-ms-consumer-academico-1
Apresentou no log:
Warning: require_once(vendor/autoload.php): Failed to open stream: No such file or directory in /app/receive.php on line 4
Fatal error: Uncaught Error: Failed opening required 'vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /app/receive.php:4
Stack trace:
#0 {main}
thrown in /app/receive.php on line 4
Nao conheço muito de PHP, mas me parece uma falha no Composer. A dependencia nao esta sendo encontrada no diretorio correto, nao sei porque.
alura-ms-web-academico-1
Log:
Warning: require_once(/app/bootstrap/../vendor/autoload.php): Failed to open stream: No such file or directory in /app/bootstrap/app.php on line 3
Fatal error: Uncaught Error: Failed opening required '/app/bootstrap/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /app/bootstrap/app.php:3
Stack trace:
#0 /app/artisan(18): require()
#1 {main}
thrown in /app/bootstrap/app.php on line 3
Warning: require_once(/app/bootstrap/../vendor/autoload.php): Failed to open stream: No such file or directory in /app/bootstrap/app.php on line 3
Fatal error: Uncaught Error: Failed opening required '/app/bootstrap/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /app/bootstrap/app.php:3
Stack trace:
#0 /app/artisan(18): require()
#1 {main}
thrown in /app/bootstrap/app.php on line 3
[Fri Apr 12 16:05:48 2024] PHP 8.0.30 Development Server (http://web-academico:8080) started
Parece ser o mesmo erro do serviço "alura-ms-consumer-academico-1", porem o container subiu e roda, provavelmente com alguma falha.
Alguem saberia as soluções para os problemas?