Skip to content

Uncaught Error: Template parse errors: No provider for NgSwitch #22984

@Vicky443

Description

@Vicky443

quite strange if NgSwitch is in build directive of angular so why am I getting this error,
even I try to include NgSwitch directive manually but the is same.

here are my project dependencies

"dependencies": {
"@angular/animations": "^5.2.9",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"@ionic/storage": "^2.1.3",
"bootstrap": "^4.0.0",
"codelyzer": "^4.1.0",
"core-js": "^2.4.1",
"ngx-bootstrap": "^2.0.3",
"ngx-loading": "^1.0.14",
"ngx-toastr": "^8.3.0",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions