Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails after upgrading to v7 when there are widgets that use i18n with horrible error message #469

Open
denov opened this issue May 15, 2021 · 0 comments

Comments

@denov
Copy link

denov commented May 15, 2021

Enhancement
Package Version: 7.0.0

Code
in .dojorc "locale": "en"

Actual behavior:
running npm run dev

./node_modules/@dojo/webpack-contrib/cldr/bootstrap.js
Module not found: Error: Can't resolve 'cldr-data/main/en/ca-gregorian.json' in 'C:\......\node_modules\@dojo\webpack-contrib\cldr'
resolve 'cldr-data/main/en/ca-gregorian.json' in 'C:\......\node_modules\@dojo\webpack-contrib\cldr'
Parsed request is a module

... this goes on and on and on...

Wanted behavior:
After running the upgrade tool from v5 to v6 and then to v7 I would expect my app to build like before upgrading

I would like the upgrade script to check for the locale setting my .dojorc and install cldr-data if needed. And or the build tool to report back a better message informing me I'm missing a key package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant