-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
When magento_dir
is set to '.'
in my deploy.php, if I run dep build I get the following error:
The command "cd . && (/usr/bin/php .//bin/magento setup:di:compile)" failed.
Exit Code: 1(General error)
Working directory: /home/user/www/site.uk
Output:
================
Warning: include(/home/user/www/site.uk/vendor/composer/../../generated/code/Magento/Framework/App/ResourceConnection/
Proxy.php): failed to open stream: No such file or directory in /home/user/www/site.uk/vendor/composer/ClassLoader.php on line 444
Error Output:
================
If I set the magento_dir
to an absolute path, it works for the local build but when pushing to production, this path is incorrect and breaks deployment. If I then change it back to '.'
it works for production.
It seems like it should just '.'
for local but it throws the ClassLoader.php
error. Any ideas?
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed