Skip to content

process not defined in browser #27

@ggascoigne

Description

@ggascoigne

When running this in Vite, process is not defined (which is correct, it's a server side convention provided by node and unset in browsers) causing debug-level to crash.

The issue is coming from chalk:supports-color which doesn't support running in the browser. This is followed by references to process.argv and tty.isatty.

Am I missing some config, or has some downstream upgrade caused this to stop working in the browser?

using: "debug-level": "3.2.1",

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