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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00