Skip to content

Build fails with warning The "path" argument must be of type string. Received null #12796

@gaborbernat

Description

@gaborbernat

I don't have reproducible for this as the project is private. However i'm using react-scripts 5.0.1 with typescript 4.8.4.

Describe the bug

Build fails with:

❯ env CI=true npm run build

> packages.dev.bloomberg.com@1.0.0 build
> react-scripts build

Creating an optimized production build...

Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.

Failed to compile.

The "path" argument must be of type string. Received null

The "path" argument must be of type string. Received null

The "path" argument must be of type string. Received null

The "path" argument must be of type string. Received null

There's no mention of what path and where though 🤔

Metadata

Metadata

Assignees

No one assigned

    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