Skip to content

TypeError: Cannot read property 'name' of undefined #260

@yoitsro

Description

@yoitsro

I'm getting this error when executing my code:

/home/app/node_modules/source-map-support/source-map-support.js:379
return state.nextPosition.name || originalFunctionName();
^
TypeError: Cannot read property 'name' of undefined

It looks like the previous line checks to see if state.nextPosition is null, but does not check if it's undefined.

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