Skip to content

ERROR in The "path" argument must be of type string. Received an instance of Object #496

@blasterbug

Description

@blasterbug

When compiling after updating from [email protected] to 6.0.1, I got this error (that seems be thrown by mini-css-extract-plugin).
"""
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
"""

I am not sure if it's an actual bug, but I post this here since the only thing that changed when I got this error is the version for mini-css-extract-plugin.

I can try to make a minimal project to reproduce the errors, but seems overkill for me right now.

  • Operating System: MacOS 10.15.4 (happen also int he Google Cloud build environment)
  • Node Version: 14.2.0 (and node:13-alpine on Gcloud build)
  • NPM Version: 6.14.5
  • webpack Version: 4.43.0
  • copy-webpack-plugin Version: 6.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions