Open Closed

Error in Angular Prod Build #79


User avatar
0
wazbek created

Hi

I am receiving the following error when doing a Production build of our Angular app: ''' ERROR in Can't resolve all parameters for ɵj in /node_modules/@volo/abp.ng.account/volo-abp.ng.account.d.ts: ([object Object], [object Object], ?, [object Object], [object Object], [object Object]). '''

This does not happen when doing a normal "ng build".

We are using version 2.3.0 of abp npm packages


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    hi,

    how do you build for production?

  • User Avatar
    0
    wazbek created

    ng build appname --prod

  • User Avatar
    0
    Mehmet created

    Hi,

    Remove node_modules/@volo/abp.ng.account folder. Download the below zip and extract in the node_modules/@volo folder.

    https://drive.google.com/file/d/1hYLBJDBT86fD7nMIZ3yKARntfEvWZFO3/view?usp=sharing

    This problem has been fixed in v2.4.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11