You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could I get some help on how to run this tool in a Windows environment?
Our projects are inside docker containers using lando/lando, not sure if that is relevant.
Would be awesome if it was possible to install this on Windows so it is project independent.
I know how to install PHP and add things to PATH, but not entirely sure how to get started with this one.
The text was updated successfully, but these errors were encountered:
I have my drupal 8 application on docker Lando windows 11.
I Installed drupal-check using composer, I can see the project got downloaded in my vendor directory but when I run below command -
drupal-check -d web/modules/custom/
my system does not recognise drupal-check , I get the following error
drupal-check : The term 'drupal-check' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:1
Being a composer package, this installs and works the same on Windows.
The only "trick" is perhaps an issue on paths.
Assuming you have a terminal open in a project and the project has drupal-check
Option 1. Be explict when calling drupal-check from project root
./vendor/bin/drupal-check
Option 2. Update your path to include ./vendor/bin.
I preferer this method as its a set-and-forget method. Use your favorite search engine to check how to update your path for your specific version of windows.
Could I get some help on how to run this tool in a Windows environment?
Our projects are inside docker containers using lando/lando, not sure if that is relevant.
Would be awesome if it was possible to install this on Windows so it is project independent.
I know how to install PHP and add things to PATH, but not entirely sure how to get started with this one.
The text was updated successfully, but these errors were encountered: