Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Tjyoung's avatar
Level 14

Can't figure out this Forge error

Hi, getting an error when deploying. All seems fine except the last line shown below. any idea how to troubleshoot this?

Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi Discovered Package: facade/ignition Discovered Package: fideloper/proxy Discovered Package: fruitcake/laravel-cors Discovered Package: intervention/image Discovered Package: laravel/tinker Discovered Package: laravel/ui Discovered Package: maatwebsite/excel Discovered Package: nesbot/carbon Discovered Package: nunomaduro/collision Discovered Package: spatie/laravel-permission Discovered Package: vinkla/hashids Discovered Package: yajra/laravel-datatables-oracle Package manifest generated successfully. Restarting FPM... /home/forge/.forge/provision-4248697.sh: line 18: syntax error: unexpected end of file

0 likes
3 replies
bugsysha's avatar

One or more of the files in your repository is not ending correctly. There are numerous ways this can happen. Are there any more details in that error which you are not posting here?

Tjyoung's avatar
Level 14

no that was all I had. I will comb through my files.

bugsysha's avatar
bugsysha
Best Answer
Level 61

Using proper IDE might highlight the problematic file.

Please or to participate in this conversation.