cronvel / terminal-kit

Terminal utilities for node.js
MIT License
3.08k stars 198 forks source link

StringKit issue #211

Closed Anas2001 closed 2 years ago

Anas2001 commented 2 years ago

I get this error with nodejs version 14.0.0

..../string-kit/lib/unicode.js:237 return emojiWidthLookup.get( code ) ?? 2 ; ^

SyntaxError: Invalid or unexpected token at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)

cronvel commented 2 years ago

Hi, Terminal-Kit requires at least node v14.15.0, and it's enforced in the package.json, so npm had already informed you.