cloudkasalu
Am unable to upload images with laravel app
[phases.setup]
nixPkgs = ['php' 'nodejs' 'composer']
[phases.install]
cmds = ['composer install', 'npm install']
[phases.build]
cmds = ['npm run build', 'php artisan optimize:clear']
[start]
cmd = 'php artisan storage:link'
49 replies
Am unable to upload images with laravel app
it seems when i add multiple build commands i run into a build error, i tried adding "NIXPACKS_BUILD_CMD =npm run build && php artisan storage:link" just to confirm that the php artisan storage:link was the issue and the images did show, but other commands are not executed, when i added all the necessary build commands i run into an error
49 replies