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
I investigated this issue and noticed that because of some "inconsistencies" between browser language, UI's locales and date-fns, this problem happens with Chinese and Brazilian Portuguese (and maybe others).
For Chinese, the browser gives us ["zh", "zh", "zh"] as language codes, the UI has zh.json, but date-fns has only zh_cn;
For Brazilian Portuguese, the browser gives us ["pt-BR", "pt-br", "pt"] as language codes, the UI has only pt_BR.json (and therefore we get 404 on unpkg), and date-fns has only pt;
Version
3.4.0
Environment info
Steps to reproduce
npm install -g @vue/cli
vue ui
zh-cn
Vue Project Manager
, language will change to zh-cn automaticllyUncaught (in promise) Error: Cannot find module './zh'
What is expected?
no error message in browser console,
and pages can work fast.
What is actually happening?
error message
Uncaught (in promise) Error: Cannot find module './zh'
in browser console;and the pages are woking very slowlly.
Runing

vue ui
has encured some error when the page switch to zh-cn language automaticlly.Is there any way to the the default locale language for the
Vue Project Manager
?The text was updated successfully, but these errors were encountered: