Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Please add a @NgModule annotation #52

Open
jpabdilla-gfi opened this issue Dec 28, 2020 · 0 comments
Open

Error: Please add a @NgModule annotation #52

jpabdilla-gfi opened this issue Dec 28, 2020 · 0 comments

Comments

@jpabdilla-gfi
Copy link

Running ng build --prod results in the following error:

ERROR in Unexpected value 'CustomFormsModule in ../node_modules/ngx-custom-validators/ngx-custom-validators.d.ts' imported by the module 'AppModule in ../app.module.ts'. Please add a @NgModule annotation.

Environment information

Angular CLI: 10.2.1
Node: 12.16.1
OS: win32 x64
Angular: 10.2.4
ngx-custom-validators: 10.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant