Skip to content

Getting "Can't resolve all parameters" when upgrading to angular 7 #26870

@lukebooroo

Description

@lukebooroo

I'm submitting a...


[x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:

Current behavior

After upgrading to Angular 7 getting the following errors when loading the application.

Can't resolve all parameters for HttpXsrfInterceptor: (?, [object Object]).
Can't resolve all parameters for UpgradeModule: (?, ?).

Expected behavior

Not to have the errors

What is the motivation / use case for changing the behavior?

Environment

Angular version: 7


    "es6-shim": "0.35.3",
    "jquery": "1.11.1",
    "photoswipe": "4.1.2",
    "angular": "1.6.4",
    "angular-animate": "1.6.4",
    "angular-sanitize": "1.6.6",
    "angular-aria": "1.6.6",
    "angular-cookies": "1.6.6",
    "angular-translate": "2.8.1",
    "angular-easy-image-preloader": "1.1.1",
    "angular-messages": "1.6.6",
    "angular-smart-table": "1.4.12",
    "rxjs": "6.3.3",
    "ng-file-upload": "7.0.17",
    "farbstastic": "1.3.0",
    "moment": "2.11.0",
    "pikaday": "1.6.1",
    "big.js": "5.0.2",
    "chart.js": "2.7.2",
    "highlight.js": "9.12.0",
    "jssocials": "1.5.0",
    "qrcode-generator": "1.3.1",
    "@angular/common": "7.0.0",
    "@angular/compiler": "7.0.0",
    "@angular/compiler-cli": "7.0.0",
    "@ngtools/webpack": "7.0.1",
    "@angular/core": "7.0.0",
    "@angular/http": "7.0.0",
    "@angular/platform-browser": "7.0.0",
    "@angular/platform-browser-dynamic": "7.0.0",
    "@angular/animations": "7.0.0",
    "@angular/upgrade": "7.0.0",
    "@angular/router": "7.0.0",
    "@angular/forms": "7.0.0",
    "@angular/cdk": "7.0.0",
    "zone.js": "0.8.26",
    "angularx-qrcode": "^1.1.7",
    "angular-highlight-js": "2.0.1",
    "chosenjs": "1.4.3",
    "angular-chosen": "1.0.8",
    "webfontloader": "1.6.26",
    "underscore": "1.8.3",
    "vimeo": "1.1.2",
    "@uirouter/core": "5.0.21",
    "@uirouter/sticky-states": "1.5.0",
    "@uirouter/angular-hybrid": "6.0.2",
    "@uirouter/angular": "2.0.2",
    "@uirouter/angularjs": "1.0.20",
    "ngx-messages": "0.2.1",
    "ngx-order-pipe": "2.0.1",
    "angular-password": "1.0.3",
    "angular-timezone-selector": "1.2.1",
    "braintree-web": "3.26.0",

Browser:
Any

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