-
Notifications
You must be signed in to change notification settings - Fork 11
Error : undefined is not an object (evaluating '(HTMLBuiltIn.prototype = tmp.prototype).constructor.. #26
Comments
File a bug there? |
Sorry about my earlier message. I understood what you ment after i wrote it. It is on my own project where it is not working. What is really weird when i import it to Storybook it works well, but in my current project it is not working even though i have the same config (as the one im using in storybook) where it was working. Even when i remove all html code in the server, same error keeps popping up. Im using django btw |
include this polyfill before anything else, never do the other way around. If that still breaks, you gotta give me something more than "Im using django btw", as this is client side JavaScript, and it has nothing to do with the server side/BE of choice. |
Yes you are right. I apologise.. i found the my error now. I was so blind in my own code and totally missed one line. |
Glad you solved. If it was a particular trick, please share, so others searching through bugs might have a solution already 👋 |
The trick was pretty simple, go away from the computer for a few seconds and then look at your code again. :-) |
Huh, that often works for me as well 👍 |
Hello,
I tried this polyfill and it works great on some enviorments but on others where more polyfills are included (from corejs3) i keep getting this error.
TypeError: undefined is not an object (evaluating '(HTMLBuiltIn.prototype = tmp.prototype).constructor = HTMLBuiltIn')
Any idea how to solve it?
EDIT: I tried to solve it myself but had no luck.
The text was updated successfully, but these errors were encountered: