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

Frontend build fails with: Can't resolve 'maplibre-gl' #315

Open
tplatt37 opened this issue Apr 7, 2022 · 0 comments
Open

Frontend build fails with: Can't resolve 'maplibre-gl' #315

tplatt37 opened this issue Apr 7, 2022 · 0 comments

Comments

@tplatt37
Copy link

tplatt37 commented Apr 7, 2022

As of this morning, the install fails on the Frontend build with this error "Module not found: Error: Can't resolve 'maplibre-gl' in '/codebuild/output/src687896026/src/lambda-refarch-imagerecognition/src/react-frontend/node_modules/@aws-amplify/ui-react/dist/esm/components/Geo/MapView'"

Does anyone know how to resolve this?

                             # Executing command: npm run build

2022-04-07T13:12:55.950Z [INFO]: > photo-sharing-webapp-react@0.1.1 build /codebuild/output/src687896026/src/lambda-refarch-imagerecognition/src/react-frontend
> react-scripts build
2022-04-07T13:12:57.173Z [INFO]: Creating an optimized production build...
2022-04-07T13:13:05.259Z [INFO]: Failed to compile.
2022-04-07T13:13:05.262Z [INFO]: Module not found: Error: Can't resolve 'maplibre-gl' in '/codebuild/output/src687896026/src/lambda-refarch-imagerecognition/src/react-frontend/node_modules/@aws-amplify/ui-react/dist/esm/components/Geo/MapView'

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