From d3f258de1c9b8ec4d4ffa2b1c4becd3699e905cf Mon Sep 17 00:00:00 2001 From: Agustin Lessa Date: Mon, 24 Aug 2020 00:45:47 -0300 Subject: [PATCH] Add guide to manually link local module to README (#912) --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 71c16ef..bfc708a 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,17 @@ npm start # runs create-react-app dev server Now, anytime you make a change to your library in `src/` or to the example app's `example/src`, `create-react-app` will live-reload your local dev server so you can iterate on your component in real-time. +### Manual link-install +If you get the error `Module not found: Can't resolve 'google-react-map'...` while trying to run the example app, you need to manually link your local development module, try the following steps: + 1. In the root folder: + ```bash + npm link + ``` + 2. Go into `example/` and (after installing other dependencies) execute: + ```bash + npm link google-map-react + ``` + ## License [MIT](./LICENSE.md)