-
-
Notifications
You must be signed in to change notification settings - Fork 631
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
"ReferenceError: clearTimeout is not defined on Heroku #449
Comments
@martyphee is also seeing this. This will take some investigative work. If this is during server rendering, we should polyfill this, as we do here:
https://medium.com/@railsonmaui/homeway-and-introducing-friends-and-guests-d4d365c6ad8d#.v8ttay83d If this is during deployment and asset compilation, I really don't know. @martyphee @ramusus Please let us know what you find and if you have a fix, please submit a PR. |
This is happening only after deployment. I wasn't able to reproduce it locally. Only on the server. |
Hey guys, seeing the same thing since yesterday. No changes in npm and gem packages.
|
It's some shim. Need to find where it's coming from.
|
We just need to polyfill to it probably. |
Hi guys, i'm having the same problem and i found that is due by Here the issue reverting back to |
Confirmed, after I put |
A little update, |
Great! Closing this issue! Thanks for quick support! |
Works for us too. Thanks!
|
Hi, guys!
Few hours ago after another deploy to Heroku with no essential changes I got error:
Full stack here http://pastebin.com/LYgpRxZa
I tried to find
base_js_code.js
, but there is no such file in tmp. If I turn offprerender
feature everything is deploying and working on heroku as it was just one day ago. I compared versions of gems and npm packages - no any visible differences between successful and not successful deploys. I searched forclearTimeout
string - no any occurrences in my project only innode_modules
directory. The problem is this error happens only on Heroku servers. Locally everything is working with pretender as well as without. But If I putclearTimeout
call into any of my react component - I got the same error locally.May be there is a way to define this bloody
clearTimeout
only for server prerender environment?Completely stacked..
Any ideas what to do?
The text was updated successfully, but these errors were encountered: