question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use locales

See original GitHub issue

Starting today I can no longer import locales. The following works in 1.5.4:

import { en, sv } from "vuejs-datepicker/dist/locale";

Using 1.6.1 Vue provides the following error as output:

Error: Can't resolve 'vuejs-datepicker/dist/locale' in '[my Vue component]'

This makes sense since I can’t find that file in my /node_modules folder. Did I miss something when upgrading to 1.6.1?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
charliekasselcommented, Jun 24, 2019

Good spot guys, thanks - does 1.6.2 work for you?

0reactions
marko-mlinareviccommented, Jul 9, 2019

still not working for me

"export ‘hr’ was not found in ‘vuejs-datepicker/dist/locale’

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't use specific Locales in Numberformat - Stack Overflow
I just want to use danish as the locale when getting a currency numberformat (where it says French now) but no locale "code"...
Read more >
Cannot use locales · Issue #555 · adamwdraper/Numeral-js
Inside my WebPack project, I am trying to use numeral.js like so: import numeral from 'numeral'; export default ... Cannot use locales #555....
Read more >
I can't access the change system locale under language for non
i need to change the system locale under language for non unicode programs, but when i click the button nothing happens, not even...
Read more >
How do I fix my locale issue? - Ask Ubuntu
First run locale to list what locales currently defined for the current user account: $ locale LANG=C LANGUAGE= LC_CTYPE=fi_FI.
Read more >
Problem of Can't set locale; make sure $LC_* and $LANG are ...
Debian ships locales in source form. They need to be compiled explicitly. The reason for this is that compiled locales use a lot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found