Appreciate if anyone provide angular sample codes for redirecting to new page instead of popup. For e.g. when I click "Add New", ABP opens up popup window, but I need to redirect to new page where I will have more options while adding new entity.
Thanks for the support.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
Build at: 2023-06-21T08:28:13.679Z - Hash: 5946763fbfa9fc16 - Time: 102639ms
./node_modules/@volosoft/abp.ng.theme.lepton-x/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs:584:52-83 - Error: export 'OPEN_AUTHORITY_DELEGATION_MODAL' (imported as 'OPEN_AUTHORITY_DELEGATION_MODAL') was not found in '@volo/abp.commercial.ng.ui/config' (possible exports: BackToImpersonatorNavItemComponent, CommercialUiConfigModule, DEFAULT_PROFILE_ICON, ENABLE_FLAG_ICON, IMPERSONATION_PROVIDERS, IdentitySecurityLogDto, IdentitySecurityLogGetListInput, ImpersonationService, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, PROFILE_PICTURE, PROFILE_PICTURE_PROVIDERS, ProfilePictureService, addNavbarItemsOfImpersonationFactory, eProfilePictureType, profilePictureTypeOptions, setModuleVisibilityFactory)
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
× Failed to compile. √ Browser application bundle generation complete.
527 unchanged chunks
Build at: 2023-06-21T08:28:22.324Z - Hash: 5946763fbfa9fc16 - Time: 6010ms
./node_modules/@volosoft/abp.ng.theme.lepton-x/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs:584:52-83 - Error: export 'OPEN_AUTHORITY_DELEGATION_MODAL' (imported as 'OPEN_AUTHORITY_DELEGATION_MODAL') was not found in '@volo/abp.commercial.ng.ui/config' (possible exports: BackToImpersonatorNavItemComponent, CommercialUiConfigModule, DEFAULT_PROFILE_ICON, ENABLE_FLAG_ICON, IMPERSONATION_PROVIDERS, IdentitySecurityLogDto, IdentitySecurityLogGetListInput, ImpersonationService, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, PROFILE_PICTURE, PROFILE_PICTURE_PROVIDERS, ProfilePictureService, addNavbarItemsOfImpersonationFactory, eProfilePictureType, profilePictureTypeOptions, setModuleVisibilityFactory)
× Failed to compile. √ Browser application bundle generation complete.
527 unchanged chunks
Build at: 2023-06-21T08:28:26.127Z - Hash: 5946763fbfa9fc16 - Time: 2731ms
./node_modules/@volosoft/abp.ng.theme.lepton-x/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs:584:52-83 - Error: export 'OPEN_AUTHORITY_DELEGATION_MODAL' (imported as 'OPEN_AUTHORITY_DELEGATION_MODAL') was not found in '@volo/abp.commercial.ng.ui/config' (possible exports: BackToImpersonatorNavItemComponent, CommercialUiConfigModule, DEFAULT_PROFILE_ICON, ENABLE_FLAG_ICON, IMPERSONATION_PROVIDERS, IdentitySecurityLogDto, IdentitySecurityLogGetListInput, ImpersonationService, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, PROFILE_PICTURE, PROFILE_PICTURE_PROVIDERS, ProfilePictureService, addNavbarItemsOfImpersonationFactory, eProfilePictureType, profilePictureTypeOptions, setModuleVisibilityFactory)
× Failed to compile.
Steps to reproduce the issue:"
Run abp suite
Create new solution
Complete the pre-requisites such as .NET framework, Node, Yarn
Run API project
Run Auth Project
Go to angular folder and run yarn install and yarn start
Below is the console error log
Console Error Log
<br> Build at: 2023-06-21T08:28:13.679Z - Hash: 5946763fbfa9fc16 - Time: 102639ms
<br> ./node_modules/@volosoft/abp.ng.theme.lepton-x/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs:584:52-83 - Error: export 'OPEN_AUTHORITY_DELEGATION_MODAL' (imported as 'OPEN_AUTHORITY_DELEGATION_MODAL') was not found in '@volo/abp.commercial.ng.ui/config' (possible exports: BackToImpersonatorNavItemComponent, CommercialUiConfigModule, DEFAULT_PROFILE_ICON, ENABLE_FLAG_ICON, IMPERSONATION_PROVIDERS, IdentitySecurityLogDto, IdentitySecurityLogGetListInput, ImpersonationService, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, PROFILE_PICTURE, PROFILE_PICTURE_PROVIDERS, ProfilePictureService, addNavbarItemsOfImpersonationFactory, eProfilePictureType, profilePictureTypeOptions, setModuleVisibilityFactory)
<br> <br> ** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
<br> × Failed to compile. √ Browser application bundle generation complete.
527 unchanged chunks
Build at: 2023-06-21T08:28:22.324Z - Hash: 5946763fbfa9fc16 - Time: 6010ms
./node_modules/@volosoft/abp.ng.theme.lepton-x/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs:584:52-83 - Error: export 'OPEN_AUTHORITY_DELEGATION_MODAL' (imported as 'OPEN_AUTHORITY_DELEGATION_MODAL') was not found in '@volo/abp.commercial.ng.ui/config' (possible exports: BackToImpersonatorNavItemComponent, CommercialUiConfigModule, DEFAULT_PROFILE_ICON, ENABLE_FLAG_ICON, IMPERSONATION_PROVIDERS, IdentitySecurityLogDto, IdentitySecurityLogGetListInput, ImpersonationService, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, PROFILE_PICTURE, PROFILE_PICTURE_PROVIDERS, ProfilePictureService, addNavbarItemsOfImpersonationFactory, eProfilePictureType, profilePictureTypeOptions, setModuleVisibilityFactory)
<br> <br> × Failed to compile. √ Browser application bundle generation complete.
527 unchanged chunks
Build at: 2023-06-21T08:28:26.127Z - Hash: 5946763fbfa9fc16 - Time: 2731ms
./node_modules/@volosoft/abp.ng.theme.lepton-x/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs:584:52-83 - Error: export 'OPEN_AUTHORITY_DELEGATION_MODAL' (imported as 'OPEN_AUTHORITY_DELEGATION_MODAL') was not found in '@volo/abp.commercial.ng.ui/config' (possible exports: BackToImpersonatorNavItemComponent, CommercialUiConfigModule, DEFAULT_PROFILE_ICON, ENABLE_FLAG_ICON, IMPERSONATION_PROVIDERS, IdentitySecurityLogDto, IdentitySecurityLogGetListInput, ImpersonationService, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, PROFILE_PICTURE, PROFILE_PICTURE_PROVIDERS, ProfilePictureService, addNavbarItemsOfImpersonationFactory, eProfilePictureType, profilePictureTypeOptions, setModuleVisibilityFactory)
<br> <br> × Failed to compile.
If you're creating a bug/problem report, please include followings:
C:\Systense\idm\Hollow\angular>yarn ➤ YN0000: ┌ Resolution step ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [358e6] doesn't provide @angular/animations (pabc5f), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [358e6] doesn't provide @angular/common (p77307), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [358e6] doesn't provide @angular/core (p3a5fc), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [358e6] doesn't provide @angular/forms (p148a0), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [358e6] doesn't provide @angular/platform-browser (p3159a), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [358e6] doesn't provide @angular/router (p78160), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [757ac] doesn't provide @angular/animations (p7fcba), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [757ac] doesn't provide @angular/common (pd7ce1), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [757ac] doesn't provide @angular/core (p45347), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [757ac] doesn't provide @angular/forms (p4df00), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [757ac] doesn't provide @angular/platform-browser (p17e1a), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [757ac] doesn't provide @angular/router (p03932), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [85ac9] doesn't provide @angular/animations (p452b4), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [85ac9] doesn't provide @angular/common (p05532), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [85ac9] doesn't provide @angular/core (p6a647), requested by ng-zorro-antd ➤ YN0002: │ @abp/ng.components@npm:7.1.1 [85ac9] doesn't provide @angular/forms (pcae06), requested by ng-zorro-antd
Error: .yarn/cache/@volo-abp.ng.account-npm-7.1.1-358e6f5554-51db75f790.zip/node_modules/@volo/abp.ng.account/admin/account-settings.module.d.ts:10:21 - error TS2307: Cannot find module '@ng-bootstrap/ng-bootstrap' or its corresponding type declarations.
10 import * as i9 from "@ng-bootstrap/ng-bootstrap"; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: .yarn/cache/@volo-abp.ng.account-npm-7.1.1-358e6f5554-51db75f790.zip/node_modules/@volo/abp.ng.account/admin/account-settings.module.d.ts:11:22 - error TS2307: Cannot find module '@ngx-validate/core' or its corresponding type declarations.
11 import * as i10 from "@ngx-validate/core"; ~~~~~~~~~~~~~~~~~~~~
Error: .yarn/cache/@volo-abp.ng.account-npm-7.1.1-358e6f5554-51db75f790.zip/node_modules/@volo/abp.ng.account/public/account-public.module.d.ts:25:22 - error TS2307: Cannot find module '@ng-bootstrap/ng-bootstrap' or its corresponding type declarations.
25 import * as i22 from "@ng-bootstrap/ng-bootstrap"; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: src/app/shared/shared.module.ts:10:12 - error NG1010: Value
Error: Can't resolve 'node_modules/@fortawesome/fontawesome-free/css/all.min.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@swimlane/ngx-datatable/assets/icons.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@swimlane/ngx-datatable/index.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@swimlane/ngx-datatable/themes/material.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/abp.ng.theme.lepton-x/assets/css/abp-bundle.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/abp.ng.theme.lepton-x/assets/css/abp-bundle.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dark.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dark.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dim.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dim.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-light.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-light.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/dark.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/dark.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/dim.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/dim.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/light.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/light.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/ng-bundle.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/ng-bundle.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/side-menu/layout-bundle.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/@volosoft/ngx-lepton-x/assets/css/side-menu/layout-bundle.rtl.css' in 'C:\Systense\idm\Hollow\angular'
Error: Can't resolve 'node_modules/ng-zorro-antd/tree/style/index.min.css' in 'C:\Systense\idm\Hollow\angular'
× Failed to compile.
<br> If you're creating a bug/problem report, please include followings:
1 parameters) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable
1 parameters)
at Autofac.Core.Activators.Delegate.DelegateActivator.b__2_0(ResolveRequestContext ctxt, Action1 next) at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action
1 next)