Unable to execute drush command in local

Created on 14 May 2024, 6 months ago

While running drush, Receiving error stating: [preflight] Package "drupal/core" is not installed

I have updated my environment variables like below after installing drush globally. Drush also installed for local apps in the same way. I have even tried running the commands from the root directory but same result.

C:\Users\sample\AppData\Roaming\Composer\vendor\bin,
.\vendor\bin

Please find the screenshot attached for reference.

💬 Support request
Status

Active

Version

5.9

Component

Core Commands

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024