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
/home/grant/node-console-probe/node_modules/lines-js/lib/color.js:17
if (color in style.color) {
^
TypeError: Cannot use 'in' operator to search for'red'in undefined
at Object.foreground (/home/grant/node-console-probe/node_modules/lines-js/lib/color.js:17:21)
at /home/grant/node-console-probe/node_modules/lines-js/lib/lines.js:142:38
at Array.map (<anonymous>)
at /home/grant/node-console-probe/node_modules/lines-js/lib/lines.js:134:23
at Array.map (<anonymous>)
at Lines.toString (/home/grant/node-console-probe/node_modules/lines-js/lib/lines.js:133:27)
at Object.<anonymous> (/home/grant/node-console-probe/console-probe.js:32:15)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
The text was updated successfully, but these errors were encountered:
Oh wow, thanks for finding this! It looks like ansi-styles chose to unpublish version 2.2.0, which is what I'd developed against here (see chalk/ansi-styles#15 (comment))
Upgrading to 3 fixes it, so I'll publish a new version now.
Hi,
I'm trying to use this package on the console and the color configuration below does not work:
I think the ansi-styles package has changed.
Error is as follows:
The text was updated successfully, but these errors were encountered: