This weekend I have create my first Espo extention using this template: https://github.com/espocrm/ext-template
It's all working fine; I created a very simple Hello-entity to check I fully understand whats happening.
After creating the entity with the entity manager, i used the 'copy-custom' function to get all the sources in my src folder.
But after using the 'node build --copy', my application doesnt work anymore.
The files are copied the the right places in the site folder, my 'Hello'module is there in the 'custom\Espo\Modules' folder.
But i got this error:
[2023-10-15 20:21:34] ERROR: (-1) Class "Espo\Modules\Hello\Controllers\Hello" does not exist; GET /Settings; line: 174, file: D:\Webserver\ext-template\site\application\Espo\Core\Utils\File\Cla ssMap.php
[2023-10-15 20:21:34] ERROR: (-1) Class "Espo\Modules\Hello\Controllers\Hello" does not exist; GET /I18n; line: 174, file: D:\Webserver\ext-template\site\application\Espo\Core\Utils\File\Cla ssMap.php
Once i remove the Hello-folder from the modules directory, the application directly starts to work again.
Could you please help me to any direction? I have no cue at all.
Thanks, Serge.
It's all working fine; I created a very simple Hello-entity to check I fully understand whats happening.
After creating the entity with the entity manager, i used the 'copy-custom' function to get all the sources in my src folder.
But after using the 'node build --copy', my application doesnt work anymore.
The files are copied the the right places in the site folder, my 'Hello'module is there in the 'custom\Espo\Modules' folder.
But i got this error:
[2023-10-15 20:21:34] ERROR: (-1) Class "Espo\Modules\Hello\Controllers\Hello" does not exist; GET /Settings; line: 174, file: D:\Webserver\ext-template\site\application\Espo\Core\Utils\File\Cla ssMap.php
[2023-10-15 20:21:34] ERROR: (-1) Class "Espo\Modules\Hello\Controllers\Hello" does not exist; GET /I18n; line: 174, file: D:\Webserver\ext-template\site\application\Espo\Core\Utils\File\Cla ssMap.php
Once i remove the Hello-folder from the modules directory, the application directly starts to work again.
Could you please help me to any direction? I have no cue at all.
Thanks, Serge.
Comment