Skip to content

Google map react failed to installed #1109

Open
@Issam-AB

Description

@Issam-AB
R! Found: react@18.0.0
node_modules/react
npm ERR!   react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0 || ^17.0.0" from google-map-react@2.1.10
npm ERR! node_modules/google-map-react
npm ERR!   google-map-react@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps

Could not resolve dependency while trying to install this package.

Try -

npm install --force --save google-map-react
npm i --save-dev @types/google-map-react

Instead of

npm install --save google-maps-react

but still not working!!

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