Skip to content

Uncaught TypeError: Cannot redefine property: name #14

@speed4

Description

@speed4

Initial checklist

Affected packages and versions

5.1.3

Link to runnable example

No response

Steps to reproduce

Use chrome 42 to open the web page containing [email protected]

"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2309.0 Safari/537.36"

Expected behavior

The console does not report any errors

Actual behavior

Uncaught TypeError: Cannot redefine property: name

Object.defineProperty(visit, 'name', {
value: 'node (' + color(node.type + (name ? '<' + name + '>' : '')) + ')'
});

Affected runtime and version

[email protected]

Affected package manager and version

[email protected]

Affected OS and version

No response

Build and bundle tools

webpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    👎 phase/noPost cannot or will not be acted on🤷 no/invalidThis cannot be acted upon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions