Skip to content

error Cannot set properties of undefined (setting 'Papa') #975

@btakita

Description

@btakita

This happens when using Papaparse, Astro, & vite.

The problem is this is undefined. globalThis is the value that we want to use.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis

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