Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RangeError: Incorrect locale information provided #648

Copy link
Copy link
Closed
@skobes

Description

@skobes
Issue body actions

Describe the bug

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.