Module within micro service template = Entity generation throws the error above.
What do you mean by Module
? A microservice-service-pro template?
Module within monolith
In the src\environments\environment.ts
file of the main angular project, There may be a missing bracket ({
). Can you add it manually?
apis: {
ModuleName: { <--- the missing bracket
rootNamespace: 'ModuleName',
},
default: {
@ash.jackson What is the projects abp version?
@christophe.baille
We tried this on more than one computers, and in the one of them we faced the error you mentioned (others worked well).
It was occassionally happening and usually gone after a several refresh.
We'll check what causes this. Thank you for reporting.
Update:
We are releasing v6.0.2 in a couple of days and it will fix this issue.
If you still face this problem after upgrading to v6.0.2, please open this ticket again.
The question credit has been refunded.
Hi again,
For what other reason could I be getting the error
It seems like Suite could not find the file that has code generation templates, which supposed to be in HttpApiHost project if UI is Angular. That is the problem.
Can you send the following info to support@abp.io email?
Hi @ash.jackson,
We're checking the issue.
I also tried updating to preview (7.0.0-rc2) and entity generation fails with the following message
This is probably related with version unmatch between Suite and Your project.
Hi,
Can you check if the project is added correctly and HttpApiHostProjectDirectory
value of the project is not null in the following file?
%USERPROFILE%\.abp\suite\appsettings.json
We suggest to separate Docs application & business application.
You may also have url routing issues if you use Docs module within a normal business application.
Hi @alpisala,
Docs module is intended to work with the basic theme.
Therefore, you need to switch your application to basic theme if you will use the Docs module.