Hi,
We completed the update from v8.3 to v9.1 in order to get some fixes to issues that are supposed to be corrected in v9. But, when issueing the yarn start command a repeated exception is produced. The entire set of exceptions is too large for the VS code terminal buffer but it's the same exception repeated over and over for different volo modules and I've included one of them below. The process seems to successfully get through the building phase but seems to fail shortly after getting into the sealing phase.
After a quick search online I found this forum post which suggests that v9.1 is actually supposed to correct this issue but then I also found this issue in your github which outlines the same issue as us except they're using Angular 19 and we're on Angular 18.
Any help would be greatly appreciated.
- ABP Framework version: v9.1.0
- UI Type: Angular
- Database System: EF Core (SQL Serve)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace: see below
- Steps to reproduce the issue: Yarn start
./node_modules/@volo/ngx-lepton-x.core/fesm2022/volo-ngx-lepton-x.core.mjs:2828:9-30 - Error: export 'provideAppInitializer' (imported as 'provideAppInitializer') was not found in '@angular/core' (possible exports: ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, AfterRenderPhase, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CSP_NONCE, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, DestroyRef, Directive, ENVIRONMENT_INITIALIZER, ElementRef, EmbeddedViewRef, EnvironmentInjector, ErrorHandler, EventEmitter, ExperimentalPendingTasks, HOST_TAG_NAME, Host, HostAttributeToken, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory, NgModuleRef, NgProbeToken, NgZone, Optional, Output, OutputEmitterRef, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, Renderer2, RendererFactory2, RendererStyleFlags2, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation, ViewRef, afterNextRender, afterRender, asNativeElements, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, effect, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, input, isDevMode, isSignal, isStandalone, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, model, numberAttribute, output, platformCore, provideExperimentalCheckNoChangesForDebug, provideExperimentalZonelessChangeDetection, provideZoneChangeDetection, reflectComponentType, resolveForwardRef, runInInjectionContext, setTestabilityGetter, signal, untracked, viewChild, viewChildren, Ι΅ALLOW_MULTIPLE_PLATFORMS, Ι΅AfterRenderEventManager, Ι΅CONTAINER_HEADER_OFFSET, Ι΅ChangeDetectionScheduler, Ι΅ChangeDetectionSchedulerImpl, Ι΅ComponentFactory, Ι΅Console, Ι΅DEFAULT_LOCALE_ID, Ι΅DEFER_BLOCK_CONFIG, Ι΅DEFER_BLOCK_DEPENDENCY_INTERCEPTOR, Ι΅DeferBlockBehavior, Ι΅DeferBlockState, Ι΅EffectScheduler, Ι΅GLOBAL_EVENT_DELEGATION, Ι΅IMAGE_CONFIG, Ι΅IMAGE_CONFIG_DEFAULTS, Ι΅INJECTOR_SCOPE, Ι΅INPUT_SIGNAL_BRAND_WRITE_TYPE, Ι΅INTERNAL_APPLICATION_ERROR_HANDLER, Ι΅IS_HYDRATION_DOM_REUSE_ENABLED, Ι΅JSACTION_EVENT_CONTRACT, Ι΅LContext, Ι΅LifecycleHooksFeature, Ι΅LocaleDataIndex, Ι΅NG_COMP_DEF, Ι΅NG_DIR_DEF, Ι΅NG_ELEMENT_ID, Ι΅NG_INJ_DEF, Ι΅NG_MOD_DEF, Ι΅NG_PIPE_DEF, Ι΅NG_PROV_DEF, Ι΅NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, Ι΅NO_CHANGE, Ι΅NgModuleFactory, Ι΅NoopNgZone, Ι΅PROVIDED_NG_ZONE, Ι΅PendingTasks, Ι΅ReflectionCapabilities, Ι΅Render3ComponentFactory, Ι΅Render3ComponentRef, Ι΅Render3NgModuleRef, Ι΅RuntimeError, Ι΅SSR_CONTENT_INTEGRITY_MARKER, Ι΅TESTABILITY, Ι΅TESTABILITY_GETTER, Ι΅USE_RUNTIME_DEPS_TRACKER_FOR_JIT, Ι΅ViewRef, Ι΅XSS_SECURITY_URL, Ι΅ZONELESS_ENABLED, Ι΅_sanitizeHtml, Ι΅_sanitizeUrl, Ι΅allowSanitizationBypassAndThrow, Ι΅annotateForHydration, Ι΅bypassSanitizationTrustHtml, Ι΅bypassSanitizationTrustResourceUrl, Ι΅bypassSanitizationTrustScript, Ι΅bypassSanitizationTrustStyle, Ι΅bypassSanitizationTrustUrl, Ι΅clearResolutionOfComponentResourcesQueue, Ι΅compileComponent, Ι΅compileDirective, Ι΅compileNgModule, Ι΅compileNgModuleDefs, Ι΅compileNgModuleFactory, Ι΅compilePipe, Ι΅convertToBitFlags, Ι΅createInjector, Ι΅defaultIterableDiffers, Ι΅defaultKeyValueDiffers, Ι΅depsTracker, Ι΅detectChangesInViewIfRequired, Ι΅devModeEqual, Ι΅findLocaleData, Ι΅flushModuleScopingQueueAsMuchAsPossible, Ι΅formatRuntimeError, Ι΅generateStandaloneInDeclarationsError, Ι΅getAsyncClassMetadataFn, Ι΅getDebugNode, Ι΅getDeferBlocks, Ι΅getDirectives, Ι΅getHostElement, Ι΅getInjectableDef, Ι΅getLContext, Ι΅getLocaleCurrencyCode, Ι΅getLocalePluralCase, Ι΅getOutputDestroyRef, Ι΅getSanitizationBypassType, Ι΅getUnknownElementStrictMode, Ι΅getUnknownPropertyStrictMode, Ι΅global, Ι΅injectChangeDetectorRef, Ι΅internalAfterNextRender, Ι΅internalCreateApplication, Ι΅internalProvideZoneChangeDetection, Ι΅isBoundToModule, Ι΅isComponentDefPendingResolution, Ι΅isEnvironmentProviders, Ι΅isInjectable, Ι΅isNgModule, Ι΅isPromise, Ι΅isSubscribable, Ι΅noSideEffects, Ι΅patchComponentDefWithScope, Ι΅performanceMarkFeature, Ι΅provideGlobalEventDelegation, Ι΅queueStateUpdate, Ι΅readHydrationInfo, Ι΅registerLocaleData, Ι΅renderDeferBlockState, Ι΅resetCompiledComponents, Ι΅resetJitOptions, Ι΅resolveComponentResources, Ι΅restoreComponentResolutionQueue, Ι΅setAllowDuplicateNgModuleIdsForTest, Ι΅setAlternateWeakRefImpl, Ι΅setClassDebugInfo, Ι΅setClassMetadata, Ι΅setClassMetadataAsync, Ι΅setCurrentInjector, Ι΅setDocument, Ι΅setInjectorProfilerContext, Ι΅setLocaleId, Ι΅setUnknownElementStrictMode, Ι΅setUnknownPropertyStrictMode, Ι΅store, Ι΅stringify, Ι΅transitiveScopesFor, Ι΅triggerResourceLoading, Ι΅truncateMiddle, Ι΅unregisterLocaleData, Ι΅unwrapSafeValue, Ι΅unwrapWritableSignal, Ι΅whenStable, Ι΅withDomHydration, Ι΅withEventReplay, Ι΅withI18nSupport, Ι΅Ι΅CopyDefinitionFeature, Ι΅Ι΅FactoryTarget, Ι΅Ι΅HostDirectivesFeature, Ι΅Ι΅InheritDefinitionFeature, Ι΅Ι΅InputTransformsFeature, Ι΅Ι΅NgOnChangesFeature, Ι΅Ι΅ProvidersFeature, Ι΅Ι΅StandaloneFeature, Ι΅Ι΅advance, Ι΅Ι΅attribute, Ι΅Ι΅attributeInterpolate1, Ι΅Ι΅attributeInterpolate2, Ι΅Ι΅attributeInterpolate3, Ι΅Ι΅attributeInterpolate4, Ι΅Ι΅attributeInterpolate5, Ι΅Ι΅attributeInterpolate6, Ι΅Ι΅attributeInterpolate7, Ι΅Ι΅attributeInterpolate8, Ι΅Ι΅attributeInterpolateV, Ι΅Ι΅classMap, Ι΅Ι΅classMapInterpolate1, Ι΅Ι΅classMapInterpolate2, Ι΅Ι΅classMapInterpolate3, Ι΅Ι΅classMapInterpolate4, Ι΅Ι΅classMapInterpolate5, Ι΅Ι΅classMapInterpolate6, Ι΅Ι΅classMapInterpolate7, Ι΅Ι΅classMapInterpolate8, Ι΅Ι΅classMapInterpolateV, Ι΅Ι΅classProp, Ι΅Ι΅componentInstance, Ι΅Ι΅conditional, Ι΅Ι΅contentQuery, Ι΅Ι΅contentQuerySignal, Ι΅Ι΅declareLet, Ι΅Ι΅defer, Ι΅Ι΅deferEnableTimerScheduling, Ι΅Ι΅deferOnHover, Ι΅Ι΅deferOnIdle, Ι΅Ι΅deferOnImmediate, Ι΅Ι΅deferOnInteraction, Ι΅Ι΅deferOnTimer, Ι΅Ι΅deferOnViewport, Ι΅Ι΅deferPrefetchOnHover, Ι΅Ι΅deferPrefetchOnIdle, Ι΅Ι΅deferPrefetchOnImmediate, Ι΅Ι΅deferPrefetchOnInteraction, Ι΅Ι΅deferPrefetchOnTimer, Ι΅Ι΅deferPrefetchOnViewport, Ι΅Ι΅deferPrefetchWhen, Ι΅Ι΅deferWhen, Ι΅Ι΅defineComponent, Ι΅Ι΅defineDirective, Ι΅Ι΅defineInjectable, Ι΅Ι΅defineInjector, Ι΅Ι΅defineNgModule, Ι΅Ι΅definePipe, Ι΅Ι΅directiveInject, Ι΅Ι΅disableBindings, Ι΅Ι΅element, Ι΅Ι΅elementContainer, Ι΅Ι΅elementContainerEnd, Ι΅Ι΅elementContainerStart, Ι΅Ι΅elementEnd, Ι΅Ι΅elementStart, Ι΅Ι΅enableBindings, Ι΅Ι΅getComponentDepsFactory, Ι΅Ι΅getCurrentView, Ι΅Ι΅getInheritedFactory, Ι΅Ι΅hostProperty, Ι΅Ι΅i18n, Ι΅Ι΅i18nApply, Ι΅Ι΅i18nAttributes, Ι΅Ι΅i18nEnd, Ι΅Ι΅i18nExp, Ι΅Ι΅i18nPostprocess, Ι΅Ι΅i18nStart, Ι΅Ι΅inject, Ι΅Ι΅injectAttribute, Ι΅Ι΅invalidFactory, Ι΅Ι΅invalidFactoryDep, Ι΅Ι΅listener, Ι΅Ι΅loadQuery, Ι΅Ι΅namespaceHTML, Ι΅Ι΅namespaceMathML, Ι΅Ι΅namespaceSVG, Ι΅Ι΅nextContext, Ι΅Ι΅ngDeclareClassMetadata, Ι΅Ι΅ngDeclareClassMetadataAsync, Ι΅Ι΅ngDeclareComponent, Ι΅Ι΅ngDeclareDirective, Ι΅Ι΅ngDeclareFactory, Ι΅Ι΅ngDeclareInjectable, Ι΅Ι΅ngDeclareInjector, Ι΅Ι΅ngDeclareNgModule, Ι΅Ι΅ngDeclarePipe, Ι΅Ι΅pipe, Ι΅Ι΅pipeBind1, Ι΅Ι΅pipeBind2, Ι΅Ι΅pipeBind3, Ι΅Ι΅pipeBind4, Ι΅Ι΅pipeBindV, Ι΅Ι΅projection, Ι΅Ι΅projectionDef, Ι΅Ι΅property, Ι΅Ι΅propertyInterpolate, Ι΅Ι΅propertyInterpolate1, Ι΅Ι΅propertyInterpolate2, Ι΅Ι΅propertyInterpolate3, Ι΅Ι΅propertyInterpolate4, Ι΅Ι΅propertyInterpolate5, Ι΅Ι΅propertyInterpolate6, Ι΅Ι΅propertyInterpolate7, Ι΅Ι΅propertyInterpolate8, Ι΅Ι΅propertyInterpolateV, Ι΅Ι΅pureFunction0, Ι΅Ι΅pureFunction1, Ι΅Ι΅pureFunction2, Ι΅Ι΅pureFunction3, Ι΅Ι΅pureFunction4, Ι΅Ι΅pureFunction5, Ι΅Ι΅pureFunction6, Ι΅Ι΅pureFunction7, Ι΅Ι΅pureFunction8, Ι΅Ι΅pureFunctionV, Ι΅Ι΅queryAdvance, Ι΅Ι΅queryRefresh, Ι΅Ι΅readContextLet, Ι΅Ι΅reference, Ι΅Ι΅registerNgModuleType, Ι΅Ι΅repeater, Ι΅Ι΅repeaterCreate, Ι΅Ι΅repeaterTrackByIdentity, Ι΅Ι΅repeaterTrackByIndex, Ι΅Ι΅resetView, Ι΅Ι΅resolveBody, Ι΅Ι΅resolveDocument, Ι΅Ι΅resolveWindow, Ι΅Ι΅restoreView, Ι΅Ι΅sanitizeHtml, Ι΅Ι΅sanitizeResourceUrl, Ι΅Ι΅sanitizeScript, Ι΅Ι΅sanitizeStyle, Ι΅Ι΅sanitizeUrl, Ι΅Ι΅sanitizeUrlOrResourceUrl, Ι΅Ι΅setComponentScope, Ι΅Ι΅setNgModuleScope, Ι΅Ι΅storeLet, Ι΅Ι΅styleMap, Ι΅Ι΅styleMapInterpolate1, Ι΅Ι΅styleMapInterpolate2, Ι΅Ι΅styleMapInterpolate3, Ι΅Ι΅styleMapInterpolate4, Ι΅Ι΅styleMapInterpolate5, Ι΅Ι΅styleMapInterpolate6, Ι΅Ι΅styleMapInterpolate7, Ι΅Ι΅styleMapInterpolate8, Ι΅Ι΅styleMapInterpolateV, Ι΅Ι΅styleProp, Ι΅Ι΅stylePropInterpolate1, Ι΅Ι΅stylePropInterpolate2, Ι΅Ι΅stylePropInterpolate3, Ι΅Ι΅stylePropInterpolate4, Ι΅Ι΅stylePropInterpolate5, Ι΅Ι΅stylePropInterpolate6, Ι΅Ι΅stylePropInterpolate7, Ι΅Ι΅stylePropInterpolate8, Ι΅Ι΅stylePropInterpolateV, Ι΅Ι΅syntheticHostListener, Ι΅Ι΅syntheticHostProperty, Ι΅Ι΅template, Ι΅Ι΅templateRefExtractor, Ι΅Ι΅text, Ι΅Ι΅textInterpolate, Ι΅Ι΅textInterpolate1, Ι΅Ι΅textInterpolate2, Ι΅Ι΅textInterpolate3, Ι΅Ι΅textInterpolate4, Ι΅Ι΅textInterpolate5, Ι΅Ι΅textInterpolate6, Ι΅Ι΅textInterpolate7, Ι΅Ι΅textInterpolate8, Ι΅Ι΅textInterpolateV, Ι΅Ι΅trustConstantHtml, Ι΅Ι΅trustConstantResourceUrl, Ι΅Ι΅twoWayBindingSet, Ι΅Ι΅twoWayListener, Ι΅Ι΅twoWayProperty, Ι΅Ι΅validateIframeAttribute, Ι΅Ι΅viewQuery, Ι΅Ι΅viewQuerySignal)
8 Answer(s)
-
0
Hi,
Out angular team will help you on this topic.
Until then, can I ask have you cleaned
node_modulesand removeyarn.lock/packages.lockfile and install all the packages cleanly? -
0
Hello,
Since then ABP 9.1 uses Angular v19, you will need to update your application accordingly. You can follow this guide https://angular.dev/update-guide
Thank you for your cooperation.
-
0
Hi,
Out angular team will help you on this topic.
Until then, can I ask have you cleaned
node_modulesand removeyarn.lock/packages.lockfile and install all the packages cleanly?Yes, I had cleared the node_modules but not the yarn.lock file.
-
0
Hello,
Since then ABP 9.1 uses Angular v19, you will need to update your application accordingly. You can follow this guide https://angular.dev/update-guide
Thank you for your cooperation.
Hi,
Are you certain that updating to Angular 19 will correct this? One of the other forum posts I linked in my initial question indicates they had this issue even with Angular 19.
-
0
Hello,
Since then ABP 9.1 uses Angular v19, you will need to update your application accordingly. You can follow this guide
https://angular.dev/update-guideThank you for your cooperation.
Hi,
Are you certain that updating to Angular 19 will correct this? One of the other forum posts I linked in my initial question indicates they had this issue even with Angular 19.
Going through the Angular 19 upgrade and it's indicating that there's an optional migration to migrate the project to the new build system. Is this something we should or should not do?
-
0
The browser builder is still supported, so you can keep it as is. After the upgrade, you should not face the build errors you mentioned. Let us know if you need further assistance!
-
0
The browser builder is still supported, so you can keep it as is. After the upgrade, you should not face the build errors you mentioned. Let us know if you need further assistance!
Thanks. The update to Angular 19 did the trick. However, you should add the fact that the update to Angular 19 is required with the update to v9 into the migration guide and outline the actions to take on the couple of optional updates that are part of the Angular 19 updates.
-
0
Glad to hear your issue is resolved! Weβre continuously updating our templates to align with the latest Angular framework updates. You can stay informed about these changes by following our release notes and migration guides:
π Release Notes: https://abp.io/docs/latest/release-info/release-notes π Migration Guides: https://abp.io/docs/latest/release-info/migration-guides