SAP Knowledge Base Article - Preview

3434028 - Build error on userAccountFacade constructor parameter when upgrading Compostable Storefront to 6.4 and higher


When upgrading Compostable Storefront to 6.4 and higher, below error may be observed in building:

sterr: Error: <path-to-custom-code-depends-on-csagent-auth-service>.service.ts:xx:xx - error TS2554: Expected 7-8 arguments, but got 6.

sterr:   node_modules/@spartacus/asm/root/services/csagent-auth.service.d.ts:21:217

sterr:     21     constructor(authService: AuthService, authStorageService: AsmAuthStorageService, userIdService: UserIdService, oAuthLibWrapperService: OAuthLibWrapperService, store: Store, _userProfileFacade: UserProfileFacade, userAccountFacade: UserAccountFacade);

sterr:     An argument for 'userAccountFacade' was not provided.



SAP Commerce Cloud 2211


jsapps, Compostable Storefront, 6.4, userAccountFacade, upgrade, constructor, parameter , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.