Skip to content
This repository has been 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 opened this issue Jun 8, 2022 · 0 comments
Open

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

marklaszlo9 opened this issue Jun 8, 2022 · 0 comments

Comments

@marklaszlo9
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant