Error when deploying to production using Laravel Forge, svg path not found
Has anyone run into this when deploying to production? I'm using laravel forge. "The path for the default set does not exist."
1 Reply
At this point in the deployment, it's only started installing dependencies, and it seems that none of the directories exist yet. I'm wondering if I need to add a command to create the directory before the dependencies are installed, possibly by using one of the other composer hooks, like post-root-package-install.
I tried to just SSH into the server and create the directory, but it keeps disappearing, so it seems like during the deployment it's wiping the directory.
For anyone who may run into this issue in the future, I was able to resolve it by adding this to my post-autoload-dump scripts: