Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply') #40

@kodelio

Description

@kodelio

Hi, when running grunt htmlSnapshot, I'm getting this

Running "htmlSnapshot:all" (htmlSnapshot) task
running html-snapshot task...hold your horses
Warning: error: Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply')
...

I searched why I'm getting this error and it was apparently due to the version of PhantomJS, but Function.prototype.bind should work with PhantomJS 2

How can I solve this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions