Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Module not found: Error: Can't resolve '@aws-amplify/cache' #355

Open
@marklaszlo9

Description

@marklaszlo9

Hi there,
I've uploaded the cfn lambda runtime to node 14, but now getting this error:
2022-06-08T12:47:14.729Z [INFO]: Creating an optimized production build...
2022-06-08T12:47:35.071Z [INFO]: Failed to compile.
2022-06-08T12:47:35.073Z [INFO]: Module not found: Error: Can't resolve '@aws-amplify/cache' in '/codebuild/output/src644004588/src/lambda-refarch-imagerecognition/src/react-frontend/node_modules/@aws-amplify/api/lib-esm'
Any suggestions how can I fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions