I installed drush 9 and now I'm getting the following error whenever I run a drush command:
/usr/bin/sh: /cygdrive/c/mysite/vendor/drush/drush/drush.launcher: No such file or directory
I have installed drush 9 on Windows 7 using
composer. This was an update to my previous drush 8.
The drush files are installed in my local site's
drush.launcherfile is in the directory indicated in the above error message.
To run a drush command, I go to my site's root directory using
MINGW64and run the command using
vendor/bin/drush. for example:
vendor/bin/drush drusn --version
I don't want to use
drush.launcherat this time but not sure why it gets invoked and yet not found.
Thank you in advance for your help.