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
Error when calling term.createDocument(); #181
Comments
@MJLHThomassen-Sorama What is your Node.js version? |
v14.15.4 |
@MJLHThomassen-Sorama OK, really strange... |
@MJLHThomassen-Sorama I'm currently running on Node.js v14.15.4 too, and everything works fine on my end... |
Yes:
For some reason, when removing Text from the require line and the var text = new Text() line, it does not generate the error (but obviously, also not the text). Edit: I was trying to run this sample: |
Addition: Strangely enough, if i do it like below, i get no problems, though, the example mentioned in my previous post still gives the same error.
|
@MJLHThomassen-Sorama Thanks for reporting, I will investigate now... |
@MJLHThomassen-Sorama Fixed on Terminal-Kit v2.1.6. |
When i call term.createDocument(); my program immediately throw the following error:
node_modules\terminal-kit\lib\document\Button.js:155
Button.prototype = Object.create( Text.prototype ) ;
^
TypeError: Object prototype may only be an Object or null: undefined.
Im working on windows, but its also throwing this error in my WSL2 (Ubuntu 20.04) terminal.
The text was updated successfully, but these errors were encountered: