Skip to content

Getting Function calls are not supported in decorators but 'DynamicHooksModule' was called. when I run ng build --prod #32

@ss94866

Description

@ss94866

I am using angular 7 application. using "ngx-dynamic-hooks": "^1.8.0"

ERROR in Error during template compile of 'SharedModule'
Function calls are not supported in decorators but 'DynamicHooksModule' was called.

Everything works fine in local. The only thing is I cant able to make the prod build of my angular7 application.
I didn't get any error on running npm start or ng build. But when I run with --prod flag (ng build --prod). I am getting above error

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions