Skip to content

TypeError: Cannot convert undefined or null to object #181

@ming-codes

Description

@ming-codes

https://github.com/kategengler/ember-cli-code-coverage/blob/ca8ffbb9f3f2864e21dc53bfa5241b1ad3941529/lib/attach-middleware.js#L22

Somehow the passed in fileLookup is null.

I did some investigation. include hook is indeed called before serverMiddleware, but the this.fileLookup in serverMiddleware is not the same instance as the one in include.

This is on ember-cli-code-coverage@1.0.0-beta.4

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