Skip to content

Cannot find module "@date-io/type" #372

Closed
@harishvalluru05

Description

@harishvalluru05
  1. We used @material-ui/pickers in one project and created distribution(dist) folder/created a package for the project.

  2. when we try to use this package version in another project it is throwing an error Cannot find module "@date-io/type".

Actually we are facing this issue when we are handling with distribution(dist) folder, But in the same project it is working fine.

Observation:
We identified that "@date-io/type" is a ambient module which is forcing us to include in
distribution folder which is not correct.

Please suggest

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