Skip to content

sample-react-map missing "fast-equals@^3.0.3" dependencies #1351

Open
@Krong1997

Description

@Krong1997

Operating system

WIN10

Browser Version

Microsoft Edge 108.0.1462.54

How severe is the bug?

low

Bug description

I'm trying to use the react map sample and follow the document steps to clone the sample code.

  git clone -b sample-react-map https://github.com/googlemaps/js-samples.git
  cd js-samples
  npm i
  npm start

The dev server will show 'Failed to resolve import "fast-equals" from "index.tsx"' after accessing the website as follow.
image

This problem will be resolved by adding missing dependencies.
image

Steps to reproduce

Console log output

No response

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