I keep getting the error that Uncaught TypeError: (0 , _reactGoogleMaps.withGoogleMap) is not a function
does anyone else get this error, i am importing withGoogleMap from react-google-maps.
This happened to me earlier, make sure you have version 6.0.0 or above.
By default, npm downloaded v4, so you should look at these docs instead
If you want to use the withGoogleMap method, run
npm install --save [email protected]
Thanks @cameronmoreau !
Its still not working!
Please refer to Getting Help section in the README (or #469).
Most helpful comment
This happened to me earlier, make sure you have version 6.0.0 or above.
By default, npm downloaded v4, so you should look at these docs instead
If you want to use the withGoogleMap method, run
npm install --save [email protected]