Skip to content

ERROR: ReferenceError: Can't find variable: Map #246

@ghost

Description

I get this error when trying to access a certain url.

Apparently, I have to include a polyfill since PhantomJS doesn't support ES6 Map (https://stackoverflow.com/questions/41729482/phantomjs-cant-find-variable-map).

Simply requiring a polyfill in the node process doesn't do the trick however, e.g. require(@babel/polyfill)

Any ideas?

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