You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using html2canvas v0.4.1 but I updated to v0.5.0-alpha1 to trying to solved an issue on IE11. (basically the canvas was cut off on IE11, works fine on Chrome and FF).
But know I get the following error (in any browser):
Uncaught (in promise) TypeError: Cannot read property 'stack' of null {stack: (...), message: "Cannot read property 'stack' of null"}message: "Cannot read property 'stack' of null"stack: (...)get stack: function () { [native code] }set stack: function () { [native code] }proto: Error(anonymous function) @ html2canvas.js:2092NodeParser.createStackingContexts @ html2canvas.js:2086(anonymous function) @ html2canvas.js:1932(anonymous function) @ html2canvas.js:2697
The error in on the line html2canvas.js:2092
container.assignStack(container.parent.stack);
Any thoughts?
Thanks!
The text was updated successfully, but these errors were encountered:
wbarrantes
changed the title
TypeError: Cannot read the property 'stack' of null - v0.5.1-alpha1
TypeError: Cannot read the property 'stack' of null - v0.5.0-alpha1
Apr 22, 2015
I'm using on the same project a game framework called 'Enchant.js'. I
noticed that framework renames a class called 'Node' ('Node' is the named
of a class used by the library html2canvas v0.5.0 and higher). To fix this
issue I've renamed the class 'Node' on enchant.js to avoid override this
class.
Checked if you have another 3-party libraries on your project, and see if
they used a class called 'Node' (or maybe is overriding another class).
Got the same problem - got a globally defined function named "Node". I don't see why this issue is closed, as a library's internally used class names should not conflict with application they're used in.
I was using html2canvas v0.4.1 but I updated to v0.5.0-alpha1 to trying to solved an issue on IE11. (basically the canvas was cut off on IE11, works fine on Chrome and FF).
But know I get the following error (in any browser):
Uncaught (in promise) TypeError: Cannot read property 'stack' of null {stack: (...), message: "Cannot read property 'stack' of null"}message: "Cannot read property 'stack' of null"stack: (...)get stack: function () { [native code] }set stack: function () { [native code] }proto: Error(anonymous function) @ html2canvas.js:2092NodeParser.createStackingContexts @ html2canvas.js:2086(anonymous function) @ html2canvas.js:1932(anonymous function) @ html2canvas.js:2697
The error in on the line html2canvas.js:2092
Any thoughts?
Thanks!
The text was updated successfully, but these errors were encountered: