globalizejs / globalize

A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data
https://globalizejs.com
MIT License
4.8k stars 603 forks source link

Uncaught Error: E_MISSING_BUNDLE: {"locale":"en-US"} #708

Open alextiuca opened 7 years ago

alextiuca commented 7 years ago

Hi,

I get the following error "Uncaught Error: E_MISSING_BUNDLE: {"locale":"en-US"}" when I change from de-DE to en-US. de-DE works fine.

The error is in cldr.js file and the bundle is null validate( "E_MISSING_BUNDLE", this.attributes.bundle !== null, { locale: this.locale

Thanks

rxaviers commented 7 years ago

Please, how are you using globalize (via webpack plugin or directly)? Which CLDR did you load? Thanks

alextiuca commented 7 years ago

I am using globalize via NuGet from Visual Studio 2015. The CLDR which I have loaded is 0.4.8

Thanks