Skip to content

Formik error when using latest version in project #1069

@steverydz

Description

@steverydz

When using the latest version (0.51.4) of this package in a project, e.g. charmhub.io, the following error occurs, preventing the project from building:

ERROR in ./node_modules/@canonical/react-components/dist/components/FormikField/FormikField.js 8:14-31
Module not found: Error: Can't resolve 'formik' in '/home/ubuntu/charmhub-io/node_modules/@canonical/react-components/dist/components/FormikField'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🐛Something isn't workingP3 TriagedIssue has been reviewed as part of legacy backlog grooming (project P3).Triaged: v4Triaged, to be implemented as part of Vanilla v4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions