Skip to content

No provider for NSRouteReuseStrategy! nativescript-angular@4.4.0 #1036

@kinggolf

Description

@kinggolf

Tried nativescript-angular@4.4.0 on standard tabs project: https://github.com/NativeScript/template-tab-navigation-ng and received this error:
No provider for NSRouteReuseStrategy!
Ran on iOS simulator only.

Dependencies:

  "nativescript": {
     "id": "org.nativescript.tabsTest",
     "tns-ios": {
        "version": "3.2.0"
    }
  },
  "dependencies": {
    "@angular/animations": "~4.4.1",
    "@angular/common": "~4.4.1",
    "@angular/compiler": "~4.4.1",
    "@angular/core": "~4.4.1",
    "@angular/forms": "~4.4.1",
    "@angular/http": "~4.4.1",
    "@angular/platform-browser": "~4.4.1",
    "@angular/router": "~4.4.1",
    "nativescript-angular": "4.4.0",
    "nativescript-plugin-firebase": "4.1.1",
    "nativescript-theme-core": "1.0.4",
    "reflect-metadata": "0.1.10",
    "rxjs": "5.4.3",
    "tns-core-modules": "3.2.0",
    "zone.js": "^0.8.18"
  },
  "devDependencies": {
    "codelyzer": "3.2.0",
    "nativescript-dev-sass": "1.3.2",
    "nativescript-dev-typescript": "0.5.1",
    "node-sass": "4.5.3",
    "tslint": "5.7.0",
    "typescript": "2.5.2"
  }

Works with nativescript-angular@4.2.0 and angular packages all set to 4.2.5.
Dependency, nativescript-plugin-firebase not part of the tabs template, but previously added, and has no bearing on this issue.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions