lunneyd
February 15, 2019, 5:20pm
1
defined is not an object (evaluating ‘new WEBPACK_IMPORTED_MODULE_2_google_maps [“google”].maps’) PlacesPage
I am getting this error when trying to go to places page.
First google was not recognised so I did npm install --save @types /googlemaps
Import
import {} from ‘googlemaps’;
but now getting this problem do not know what the problem is.
jjdev
February 15, 2019, 5:31pm
2
Instead of that empty import line, try this:
declare const google: any;
Between your imports and your class decorator
lunneyd
February 16, 2019, 3:22pm
3
Now I am getting error [Error] ERROR – Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating ‘modules[moduleId].call’)
webpack_require @http://localhost:8100/build/vendor.js:55:29
Any ideas?
Thanks.
jjdev
February 16, 2019, 3:48pm
4
Can you post the code in question?