Installed the Nemmo / yii2-attachments extension, and configured everything according to the instructions, but during migration it gives an error that the module was not found. Here is the error log
Exception 'Exception' with message 'Yii2 attachment module not found, may be you didn't add it to your config?' in D:\OpenServer\domains\univer.lc\vendor\nemmo\yii2-attachments\src\ModuleTrait.php:30 My app\config\web.php configuration app\config\web.php
'modules' => [ 'attachments' => [ 'class' => nemmo\attachments\Module::className(), 'tempPath' => '@app/upload/file/temp', 'storePath' => '@app/upload/file/store', 'rules' => [ // Rules according to the FileValidator 'maxFiles' => 10, // Allow to upload maximum 3 files, default to 3 'mimeTypes' => 'image/png', // Only png images 'maxSize' => 1024 * 1024 // 1 MB ], 'tableName' => '{{%attachments}}' // Optional, default to 'attach_file' ], File app\config\console.php
'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationNamespaces' => [ 'nemmo\attachments\migrations', ], ], ], Tell me what am I doing wrong?