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
    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.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.