Skip to content

injector.resolveAndInstantiate is not a function (angular 2.0.0-rc.0) #23

@jon301

Description

@jon301

Hi,

I'm getting the following error when using installSagaMiddleware
It looks like the injector we use is an ElementInjector and not a ReflectiveInjector (see screenshot)

ORIGINAL EXCEPTION: TypeError: injector.resolveAndInstantiate is not a function
ORIGINAL STACKTRACE:
TypeError: injector.resolveAndInstantiate is not a function
    at SagaRunner._run (http://localhost:4200/vendor/store-saga/runner.js:63:52)
    at SagaRunner.run (http://localhost:4200/vendor/store-saga/runner.js:78:14)
    at eval (http://localhost:4200/vendor/store-saga/runner.js:34:66)
    at Array.forEach (native)
    at new SagaRunner (http://localhost:4200/vendor/store-saga/runner.js:34:27)
    at DebugAppView.Object.defineProperty.get (TodoComponent_Host.template.js:87:69)
    at DebugAppView.Object.defineProperty.get (TodoComponent_Host.template.js:93:154)
    at DebugAppView._View_TodoComponent_Host0.injectorGetInternal (TodoComponent_Host.template.js:162:98)
    at DebugAppView.AppView.injectorGet (http://localhost:4200/vendor/@angular/core/src/linker/view.js:96:21)
    at DebugAppView.injectorGet (http://localhost:4200/vendor/@angular/core/src/linker/view.js:269:49)

image

  • angular 2.0.0-rc.0
  • ngrx/store 1.5.0
  • store-saga 1.0.0-beta.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions