Skip to content

TypeError: Object prototype may only be an Object or null: undefined #57

@kaiyoma

Description

@kaiyoma

I'm currently trying to upgrade my project to webpack 5 and I'm now running into a bizarre compilation error with this package. When I start my app, I see this in the browser console:

TypeError: Object prototype may only be an Object or null: undefined
    at setPrototypeOf (<anonymous>)
    at extendStatics (Streamer.js?fc49:7)
    at __extends (Streamer.js?fc49:10)
    at eval (Streamer.js?fc49:20)
    at eval (Streamer.js?fc49:72)
    at Object../node_modules/.pnpm/csv-string@4.0.1/node_modules/csv-string/dist/Streamer.js (bundle.js:47851)
    at __webpack_require__ (bundle.js:93000)
    at fn (bundle.js:93290)
    at eval (CSV.js?a8d5:4)
    at Object../node_modules/.pnpm/csv-string@4.0.1/node_modules/csv-string/dist/CSV.js (bundle.js:47829)

The error appears to be coming from deep inside csv-string. What does this error mean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions