Skip to content

ERROR in : Template parse errors: The pipe 'async' could not be found #12641

@rdbhagat999

Description

@rdbhagat999

Bug Report

- [x ] bug report

Command (mark with an x)

- [x ] build

Versions

npm - 6.4.1
node - 10.12.0
angular cli - 7.0.1
angular - 7.0.0
Windows 10 (64-bit)

image

Repro steps

  • Generate new project
  • add angular material
  • add angular flex layout
  • Use material tooltip in a component
  • ng build --prod

The log given by the failure

ERROR in : Template parse errors:
The pipe 'async' could not be found ("<div class="mat-tooltip" [ngClass]="tooltipClass" [[ERROR ->]class.mat-tooltip-handset]="(_isHandset | async)?.matches" [@State]="_visibility" (@State.start)="_an"): C:/Users/Admin/Desktop/dev-admin/node_modules/@angular/material/tooltip/typings/index.d.ts.TooltipComponent.html@0:51

image

Desired functionality

Template parse errors should be fixed.

Mention any other details that might be useful

Packages:
"dependencies": {
"@agm/core": "^1.0.0-beta.3",
"@angular/animations": "^7.0.0",
"@angular/cdk": "^7.0.0",
"@angular/common": "^7.0.0",
"@angular/compiler": "^7.0.0",
"@angular/core": "^7.0.0",
"@angular/flex-layout": "^7.0.0-beta.19",
"@angular/forms": "^7.0.0",
"@angular/http": "^7.0.0",
"@angular/material": "^7.0.0",
"@angular/material-moment-adapter": "^7.0.0",
"@angular/platform-browser": "^7.0.0",
"@angular/platform-browser-dynamic": "^7.0.0",
"@angular/pwa": "^0.10.1",
"@angular/router": "^7.0.0",
"@angular/service-worker": "^7.0.0",
"@ctrl/ngx-csv": "^1.1.3",
"@types/moment-timezone": "^0.5.9",
"body-parser": "^1.18.3",
"core-js": "^2.5.4",
"express": "^4.16.4",
"file-saver": "^2.0.0-rc.4",
"hammerjs": "^2.0.8",
"lodash-es": "^4.17.10",
"moment": "^2.22.2",
"moment-timezone": "^0.5.21",
"ngx-moment": "^3.1.0",
"ngx-progressive-image-loader": "^3.0.2",
"rxjs": "^6.2.2",
"xlsx": "^0.14.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.10.1",
"@angular/cli": "~7.0.1",
"@angular/compiler-cli": "^7.0.0",
"@angular/language-service": "^7.0.0",
"@types/jasmine": "~2.8.9",
"@types/jasminewd2": "~2.0.5",
"@types/node": "~10.12.0",
"codelyzer": "~4.5.0",
"jasmine-core": "~3.2.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^1.3.1",
"protractor": "~5.4.0",
"ts-node": "~7.0.1",
"tslint": "~5.11.0",
"typescript": "~3.1.3"
}

image
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