-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
TypeError: type.badge.padEnd is not a function in node 6 #46
Comments
Same here: Describe the bug To Reproduce
Expected behavior Technical Info (please complete the following information) OS: macOS 10.13.4 |
@Shriram-Balaji and @haochuan Can you produce some code for this? |
This is all I have to get the error:
|
@haochuan I don't understand why this is happening on your end. But it's working fine in here. 😕 |
I have got the solution: This is clientsided. You will have to update your version of Nodejs to the latest. |
@ThunbergOlle Could you please brief us if you know why exactlyy this is occurring. I do understand that this problem is not occuring in node 8 and above, the problem is that I can't use signale if I want to support node 6 because of the error. |
I don't know why exactly it's occurring. I just wanted to share how other people can fix it that can update the node version. There are probally more modules that's similar to this. |
Added custom string end-padding method. Fixes klaudiosinani#46. (klaudiosinani#53)
Describe the bug
Calling signale methods in node 6.11.2 seem to return a TypeError
To Reproduce
Call any of the signale methods, in
node 6
environment , it will fail with the following error.Expected behavior
The logger should work as expected
Technical Info (please complete the following information)
The text was updated successfully, but these errors were encountered: