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
npx create-vue prints RangeError: Incorrect locale information provided at startup, and then proceeds normally.
Expected behavior
No errors printed.
How to reproduce
Observed on Ubuntu 22.04.5 under WSL 2:
~$ npx create-vue
Need to install the following packages:
create-vue@3.13.0
Ok to proceed? (y)
RangeError: Incorrect locale information provided
Vue.js - The Progressive JavaScript Framework
✖ Project name: … vue-project
I suspect it is related to $LANG being C.UTF-8 (WSL default?), causing a call to Intl.getCanonicalLocales("C") in #450.
The text was updated successfully, but these errors were encountered:
Yes, I suppose it is related to getCanonicalLocales. @btea chose to log the error and continue normally and I think it's fine.
Maybe the error could display the locale as well.
Feel free to open a PR to improve this if you feel this is important, contributions are most welcome 👍
Describe the bug
npx create-vue
printsRangeError: Incorrect locale information provided
at startup, and then proceeds normally.Expected behavior
No errors printed.
How to reproduce
Observed on Ubuntu 22.04.5 under WSL 2:
I suspect it is related to
$LANG
beingC.UTF-8
(WSL default?), causing a call toIntl.getCanonicalLocales("C")
in #450.The text was updated successfully, but these errors were encountered: