Open Closed

Updated from 7.3.2 to 7.4.3 and Angular now fails to compile #6306


User avatar
0
TMuska created
  • ABP Framework version: v7.4.3
  • UI Type: Angular
  • Database System: EF Core SQL Server

Updated solution from 7.3.2 to 7.4.3 and now angular gives the following error message:

Error: src/app/app.module.ts:62:7 - error TS2345: Argument of type '{ cookieConsent: { privacyPolicyUrl: string; cookiePolicyUrl: string; }; }' is not assignable to parameter of type 'AbpCookieConsentOptions'. Object literal may only specify known properties, and 'cookieConsent' does not exist in type 'AbpCookieConsentOptions'.

   cookieConsent: {
     privacyPolicyUrl: 'gdpr-cookie-consent/privacy',
     cookiePolicyUrl: 'gdpr-cookie-consent/cookie',
   },

2 Answer(s)
  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    hi TMuska, i believe this documentation below solves your problem;

    https://docs.abp.io/en/commercial/7.4/migration-guides/v7_4

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07