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
{{ message }}
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
Our project, which utilizes dkan2 and dkan-tools, has its own custom dkan-tools command in namespace DkanTools\Command. When running within Docker, dkan-tools finds the command just fine. However, when running without Docker, dktl-tools does not find the custom command and throws the following error:
[Symfony\Component\Console\Exception\CommandNotFoundException] There are no commands defined in the ... namespace.
The issue seems to originate in dkan-tools' composer.json, specifically line 14 of the autoload section:
"DkanTools\\Custom\\": "/var/www/src/command"
Dkan-tools wrongly assumes /var/www is a relevant path when DKTL_MODE is HOST.
The text was updated successfully, but these errors were encountered:
Our project, which utilizes dkan2 and dkan-tools, has its own custom dkan-tools command in namespace
DkanTools\Command
. When running within Docker, dkan-tools finds the command just fine. However, when running without Docker,dktl-tools
does not find the custom command and throws the following error:[Symfony\Component\Console\Exception\CommandNotFoundException] There are no commands defined in the ... namespace.
The issue seems to originate in dkan-tools'
composer.json
, specifically line 14 of theautoload
section:Dkan-tools wrongly assumes
/var/www
is a relevant path whenDKTL_MODE
isHOST
.The text was updated successfully, but these errors were encountered: