React-google-maps: withGoogleMap is not a function?

Created on 31 Dec 2016  路  4Comments  路  Source: tomchentw/react-google-maps

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.

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]

All 4 comments

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).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

julienvincent picture julienvincent  路  3Comments

farhan687 picture farhan687  路  3Comments

shrimpy picture shrimpy  路  3Comments

Mahmood004 picture Mahmood004  路  3Comments

wayofthefuture picture wayofthefuture  路  3Comments