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.

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

@tplatt37

Description

@tplatt37

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions