Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109466

Dependency error when trying to use @clayui/date-picker@3.0.7 component

    Details

      Description

      I'm trying to use @clayui/date-picker@3.0.7 component at Workflow Metrics (LPS-100864).

      The following error on the console:

      Error: The following problems where detected while resolving modules: -  Missing dependency ':ERROR:Package frontend-taglib-clay$moment which is a dependency of @frontend-taglib-clay$clayui/date-picker@3.0.7 is not deployed in the server' of '@frontend-taglib-clay$clayui/date-picker@3.0.7/lib/index' -  Missing dependency ':ERROR:Package frontend-taglib-clay$moment which is a dependency of @frontend-taglib-clay$clayui/date-picker@3.0.7 is not deployed in the server' of '@frontend-taglib-clay$clayui/date-picker@3.0.7/lib/DateNavigation' -  Missing dependency ':ERROR:Package frontend-taglib-clay$moment which is a dependency of @frontend-taglib-clay$clayui/date-picker@3.0.7 is not deployed in the server' of '@frontend-taglib-clay$clayui/date-picker@3.0.7/lib/DayNumber' -  Missing dependency ':ERROR:Package frontend-taglib-clay$moment which is a dependency of @frontend-taglib-clay$clayui/date-picker@3.0.7 is not deployed in the server' of '@frontend-taglib-clay$clayui/date-picker@3.0.7/lib/Hooks' -  Missing dependency ':ERROR:Package frontend-taglib-clay$moment which is a dependency of @frontend-taglib-clay$clayui/date-picker@3.0.7 is not deployed in the server' of '@frontend-taglib-clay$clayui/date-picker@3.0.7/lib/InputDate'
      

      Reproduction Steps:
      1 - install/add @clayui/date-picker;
      2 - import component in a js file;
      3 - run and get the error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                john.co John Co
                Reporter:
                ivan.zaera Ivan Zaera
                Participants of an Issue:
                Recent user:
                Jason Pince
                Engineering Assignee:
                Albino Júnior
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  23 weeks, 1 day ago

                  Packages

                  Version Package
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  Master