Closed dockleryxk closed 1 year ago
me too...
me too..too!
Hi. This is an incompatibility with Node.js 14 (which is EOL since April). Please consider upgrading your Runtime Node.js to 16+. (This comes from string-width@6
)
As a workaround if you cannot upgrade Node version, you can set CI=1
environment variable.
3.2.2 has a workaround for Node 14 backward compatibility (https://github.com/unjs/consola/releases/tag/v3.2.2)
@pi0 thank you for adding this workaround – I'm sure it's annoying supporting an EOL version but it's very much appreciated!
Environment
Node 14.12.4, trying to build a Nuxt 2 project
Reproduction
Unfortunately, this is a private repo
Describe the bug
Build a Nuxt 2 project on Node 14 using consola v3.2.x – get this fatal error.
If I can provide more context, please let me know, but this seems cut and dry.
I did not try other Node versions
Additional context
When forcing consola v3.1.x, there is no issue
Logs