- ABP Framework version: v4.0.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- 2 errors:
- 1- on start of ABP suite getting below error
- 2- Cannot run the angular app
- Steps to reproduce the issue:
- 1- Starting Suite v4.2.1 ... [19:20:33 ERR] ABP-LIC-0016 - You are not granted permission to use the module 'Volo.Abp.Suite-v4.2.1.0'. 2- Warning: Entry point '@volo/abp.ng.account/config' contains deep imports into 'C:/Shobhit/Projile/EzpandCC/angular/projects/account/admin/src/public-api.ts'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
Error: Failed to compile entry-point @volo/abp.ng.account/config (es2015 as esm2015) due to compilation errors: projects/account/admin/src/account-settings.module.ts:28:14 - error NG6002: Appears in the NgModule.imports of AccountConfigModule, but could not be resolved to an NgModule class.
Is it missing an @NgModule annotation?
28 export class AccountSettingsModule {} ~~~~~~~~~~~~~~~~~~~~~ projects/account/admin/src/account-settings.module.ts:28:14 - error NG6003: Appears in the NgModule.exports of AccountConfigModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.
Is it missing an Angular annotation?
28 export class AccountSettingsModule {} ~~~~~~~~~~~~~~~~~~~~~
NOTE: i started getting this issue from yesterday and we have commerical license of ABP.
6 Answer(s)
-
0
You are not granted permission to use the module 'Volo.Abp.Suite-v4.2.1.0'.
login via ABP CLI to fix this: https://docs.abp.io/en/abp/latest/CLI#login
you have 2 organizations. if you cannot login, you have to specify your active organization like below
abp login shobhit --organization Projile Corporation
2- Cannot run the angular app
When this problem occurs?
-
0
Thanks @alpher.
Regarding Point 1. I will take care. Regarding Point 2. It has suddently started 2 days before i raised this ticket. Earlier i thought developer has done some mistake. I am not getting this issue if i go to "angular\node_modules@volo" and remove "abp.ng.account" folder. It is temp solution as i was not able to run the angular web app so i found this alternate till i don't get permanent fix. Any i have upgraded my framework and project into 4.2.2. Please help.
-
0
Hi,
Can you share tsconfig.json content with me? Is the tsconfig.prod.json file available in your project?
-
0
{ "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, "module": "esnext", "moduleResolution": "node", "importHelpers": true, "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ "es2018", "dom" ], "paths": { "@proxy": [ "src/app/proxy/index.ts" ], "@proxy/": [ "src/app/proxy/" ], "@volo/abp.ng.chat": [ "projects/chat/src/public-api.ts" ], "@volo/abp.ng.chat/config": [ "projects/chat/config/src/public-api.ts" ], "@volo/abp.ng.account": [ "projects/account/src/public-api.ts" ], "@volo/abp.ng.account/admin": [ "projects/account/admin/src/public-api.ts" ], "@volo/abp.ng.account/config": [ "projects/account/config/src/public-api.ts" ] } }, "angularCompilerOptions": { "fullTemplateTypeCheck": true, "strictInjectionParameters": true } }
tsconfig.prod.json file is not available
-
0
Please take a look at this comment. It seems the same problem.
-
0
Thanks a lot @Mehmet. It's working.