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

TimeAgoPipe does not compile with Angular 5 #37

Open
sohaiebCollabCp opened this issue Nov 30, 2021 · 0 comments
Open

TimeAgoPipe does not compile with Angular 5 #37

sohaiebCollabCp opened this issue Nov 30, 2021 · 0 comments

Comments

@sohaiebCollabCp
Copy link

sohaiebCollabCp commented Nov 30, 2021

Hello,

i wanted to launch build in prod mode with ng build prod
i got this error:

ERROR in : Cannot determine the module for class TimeAgoPipe in /home/gh_action/cca-front-end/node_modules/time-ago-pipe/time-ago-pipe.d.ts! Add TimeAgoPipe to the NgModule to fix it. TypeError: Cannot read property 'flags' of undefined

dispite, it is imported and exported in my module.

here is my Project configuration after running ng -v


    _                      _                 ____ _     ___

  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
    
Angular CLI: 1.7.4
Node: 14.17.5
OS: win32 x64
Angular: 5.2.11
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
TimeAgoPipe version: 1.3.2
@angular/cdk: 5.2.5
@angular/cli: 1.7.4
@angular/material: 9.2.4
@angular-devkit/architect: 0.1102.14
@angular-devkit/build-angular: 0.1102.14
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/build-webpack: 0.1102.14
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.5.3
webpack: 3.11.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