-
Notifications
You must be signed in to change notification settings - Fork 189
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
FATAL Intl.Segmenter is not a constructor with Node 14 #204
Comments
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 As a workaround if you cannot upgrade Node version, you can set |
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! |
show again in 3.30 :) |
show again in 3.2.3 |
In the nuxt2.14.0 version, the 3.2.3 version of Consola was referenced, which caused the failure to start successfully in Node 14. Can you help to handle compatibility with this version? |
in 3.3.3 version again this problem, all project crash |
Hello, I am using Node v14.21.2. The project was previously using consola v3.2.3, which worked fine, but after upgrading to v3.3.0 yesterday, I encountered the error 'FATAL Intl.Segmenter is not a constructor'. I have upgraded to v3.3.1, but the same issue persists. |
My project is based on node 14.19.1 version and uses npm i to pull dependencies, using the nuxt 2.14.0 framework
The 'consola' version in the code will report an error if it is' 3.2.3 'and needs to be downgraded to' 3.2.2 '` |
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
The text was updated successfully, but these errors were encountered: