Open Closed

Uncaught TypeError: Cannot set properties of undefined (setting 'ɵfac') #6211


User avatar
0
in4tek.abp created
  • ABP Framework version: v7.4
  • UI Type: Angular /
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Good Morning,
  • i created one solution and now i have deploied on in the production server; when i launch the Angular project, i get this error:
  • Uncaught TypeError: Cannot set properties of undefined (setting 'ɵfac')
  • I'm doing the same steps in the previous project; can you help me?
  • Thanks

3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hi,

    Have look at a similar issue https://support.abp.io/QA/Questions/5945/Exception-in-browser-at-initial-pageload-of-a-deployed-production-build

    Please let me know if it helps you.

    Thanks, Anjali

  • User Avatar
    -1
    in4tek.abp created

    Hi Anjali_Musmade, i solved the problem with add "optimization": false,, and modifiy this part: maximumWarning": "5mb", maximumError": "8mb"

    Thank you so much!

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hi,

    Closing the ticket as your issue gets resolved

    Thanks.

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 25, 2025, 11:10