R
Railway3y ago
Issam

Laravel app fails to launch when deploying with Nixpacks

My app deploys fine when using Heroku Buildpacks, but I deploy it with Nixpacks I get this error: The /app/bootstrap/cache directory must be present and writable. I tried using Nixpacks with the following Build Command: npm run prod && php artisan cache:clear && composer dump-autoload && chmod -R 777 storage/ This results in the following error: copy(/app/app/Console/Commands/ChartMakeCommand.php): Failed to open stream: Permission denied I've already reported this issue here on Discord and on Canny to no avail, and with the recent news that Heroku Buildpacks are getting turned off, I'd really appreciate it if you could assist me in solving this. Any thoughts?
2 Replies
angelo
angelo3y ago
@Issam, saw your email. Your deploys should still work but the team doesn't have enough PHP knowledge to fix this issue within Nixpacks.
Issam
IssamOP3y ago
I see, in the meantime is it possible to change my project back to heroku buildpacks from your end? As I can no longer do so from the dashboard
Want results from more Discord servers?
Add your server