-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server side rendering: google is not defined #10
Comments
Hi @ydeshayes, Do you think you can help out here? I love your npm and would really like to keep using it! |
Hello! When is your error firing, at run time or bundle time ? Do you have the ability to load the google script in the HTML that you return to the browser ? Sorry for the delay... |
Can you try to add |
Hi, Will check if the error is on runtime or buildtime, I do have the script in my html. |
The error is on runtime, building goes oke. C:\Tripscanner2\node_modules\material-ui-places\lib\material-ui-places.min.js:1 |
Hi,
Your npm works great running locally, but using SSR with node I get the following error:
ReferenceError: google is not defined
at new t (C:\tripnew\node_modules\material-ui-places\lib\material-ui-places.min.js:1:2370)
any change to fix this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: