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

bossbossk20 picture bossbossk20  路  3Comments

PaulieScanlon picture PaulieScanlon  路  3Comments

tahir-masood1 picture tahir-masood1  路  4Comments

craigcartmell picture craigcartmell  路  4Comments

MrSaints picture MrSaints  路  3Comments