0
yim.tim created
I try to create new module to existing Abp solution. The named "CRS" module are created and added into existing solution file. Visual Studio can be built but Angular program cannot be compliled. The following error are displayed when start Angular program. Please advise.
- ABP Framework version: v6.0.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
5 Answer(s)
-
0
Hello,
Can you send your tsconfig.json?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello
You need to import CRSConfigModule instead of CRSModule.
import { CRSConfigModule } from '@c-rS/config'Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello,
I created an issue about this situation. You can follow the status of issue
Also, the module was added wrongly to environment.ts. You can fix it like the following. (This error was fixed in ABP 6.0.3 version)
{ // other properties apis: { // other apis CRS: { rootNamespace: 'CRS', }, }, } as Environment;For your information following steps are not automated with ABP Suite
- Configure the URL of the module in projects/your-module/config/src/providers/route.provider.ts
- Add the following lines to your app-routing.module.ts
{ path: 'url-of-module', loadChildren: () => import('@c-rS').then(m => m.CRSModule); }Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)




