Problem with drush and site alias (Drupal 8.8.6 / Drush 10.3.1)
There is no need for the leading @name and try adding the full path to drush for all remote environments:
dev:
  ...
  paths:
    drush-script: /example/path/www/vendor/drush/drush/drush
prod:
  ...
  paths:
    drush-script: /foo/bar/www/vendor/drush/drush/drush