Open Igsu-Bravo opened 5 years ago
I have the same issue with updatedb:
@IgsuMustonen in case you didn't already have a fix, this worked for me:
So in my directory I then just had drush.bat and drush. And had this path added in PATH.
Then just drush -y updatedb
@dwaynew using,
this fix didn't work for me.
When I run
drush updatedb -l site.com --debug
the script stops in the middle and a pop-up message says "Windows can't open this type of file (.phar)"Here is my console output:
My environment:
drush.phar is located at vendor\bin together with drush.bat (which contains the extact two lines described here
I am able to run other commands such as
drush cache-rebuild -l site.com
drush status -l site.com
I have checked these following issues: Fix for Windows user drush launcher on Windows launcher placement for windows users