Microservice Template.
In localhost:4200, the console app has this error:
The source code is in this method: function setModuleVisibilityFactory(stream, service, identifier) { return stream.pipe(map(features => features.enable), tap(enable => { const { children, ...tree } = service.find(r => r.name === identifier); tree.invisible = !enable; service.patch(identifier, tree); })); }
9 Answer(s)
-
0
After deploy the code to QA site, there are two more exceptions in Console:
function ct(ft, Kt) { const $ = ft.url.toLowerCase(); if (!(0, y.WQX)(ot) || "GET" === ft.method || "HEAD" === ft.method || $.startsWith("http://") || $.startsWith("https://")) return Kt(ft); const Re = (0, y.WQX)(jt).getToken() , he = (0, y.WQX)(at); return null != Re && !ft.headers.has(he) && (ft = ft.clone({ headers: ft.headers.set(he, Re) })), Kt(ft) }
, gA = [(0, t.phd)( () => { !function L9() { (0, t.WQX)(Rn.EVb).add({ id: "Impersonation", executable: !0, execute: r => { const {reason: p} = r , {error: {grant_type: }} = p || {}; return !! && "Impersonation" === _ } }) }() } )];
-
0
Hi, this was a known issue and it's fixed with the new versions. Can you try v9.1.2 or 9.2.0+, please?
-
0
After upgrade to ABP 9.1.2, angular app got this exception: NullInjectorError: NullInjectorError: No provider for InjectionToken CORE_OPTIONS!
I am using stand alone mode, that the provider sequence in app.config.ts provided by ABP team's sample code when upgrade to 9.1.1
-
0
Hello, I cannot produce the same problem on my end. Could you please share your
app.config.ts
file? Could you also clarify the package manager and its version? -
0
export const appConfig: ApplicationConfig = { providers: [ provideAppInitializer(appInitializerFactory()), importProvidersFrom([ AccountAdminConfigModule, IdentityConfigModule, ThemeLeptonXModule.forRoot(), SideMenuLayoutModule.forRoot(), AccountLayoutModule.forRoot(), ]), provideRouter(appRoutes), APP_ROUTE_PROVIDER, OVERRIDE_LEPTON_X_USER_MENU_PROVIDERS, provideAnimations(), // Add the date-fns adapter provider - this is the correct way in Angular 19 provideDateFnsAdapter(), provideAbpCore( withOptions({ environment, registerLocaleFn: registerLocale(), }), ), provideAbpOAuth(), provideOpeniddictproConfig(), provideIdentityConfig(), provideSettingManagementConfig(), provideFeatureManagementConfig(), provideAccountAdminConfig(), provideTextTemplateManagementConfig(), provideLanguageManagementConfig(), provideAccountPublicConfig(), provideCommercialUiConfig(), provideAuditLoggingConfig(), ACCOUNT_MANAGE_PROFILE_TAB_PROVIDERS, //This is local's override abp provider AuditInterceptorProvider, provideAbpThemeShared( withHttpErrorConfig({ errorScreen: { component: HttpErrorComponent, forWhichErrors: [401, 403, 404, 500], hideCloseIcon: true, }, }), withValidationBluePrint({ wrongPassword: 'Please choose 1q2w3E*', }), ), provideSaasConfig(), DateFnsFormatDateTimePipe, DatePipe, TitleCasePipe,
], };
-
0
yarn version 1.22.22
-
0
Hello again. Thank you for providing extra details about your problem.
However, I still cannot produce the same problem on our side. Could you please share a minimal, reproducible example via this email: sumeyye.kurtulus@volosoft.com, so that I could assist you further.
Thank you for your cooperation.
-
0
The code use to use '~9.1.1', if I check the lock file, it does install 9.1.3. If I use exact version 9.1.1 or 9.1.2, it will have null DI exception. Now I change to use exact version '9.1.3' the DI exception is gone.
However, the console error in the beginning of this ticket is still there.
-
0
To further investigate the console error you're still seeing, could you please provide a minimal, reproducible example that triggers the issue? This will help us pinpoint the root cause much more effectively. You can send it directly to sumeyye.kurtulus@volosoft.com.
If possible, please include:
- A simple sample project or code snippet where the issue occurs
- The exact steps to reproduce the error
- The full console output or stack trace
Appreciate your help — we’ll dive right in as soon as we receive it.