Level 4
Somehow I fixed the problem. After running composer clear-cache it started to work again...
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi
I am running into the following error when trying to deploy to production.
[RuntimeException]
Source path "../../packages/bar" is not found for package foo/bar
I have symlinked the local package in composer.json and it works fine in my local dev environment.
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
},
{
"type": "path",
"url": "../../packages/bar",
"options": {
"symlink": true
}
}
]
Any ideas how I cant get Vapor to import that package when deploying?
Please or to participate in this conversation.