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
Webpack warning: Can't resolve './locale' #6092
Comments
Hi, |
Hi, I don't think a popular dependency has regression from many versions long time ago. #4519 |
I added a resolve to the webpack config to make this go away
|
I also facing this problem in v2.29.4, any idea ? |
i was changed aliasesRequire in require('./locale/' + name);
// because defineLocale currently also sets the global locale, we
// want to undo that for lazy loaded locales to require('moment/locale/' + name);
// because defineLocale currently also sets the global locale, we
// want to undo that for lazy loaded locales and now works without error |
this resolve my issue. OR add these lines to webpack.mix.js
|
this works when no file |
WARNING in ./node_modules/@elsa-workflows/elsa-workflows-studio/dist/esm/moment-799f997a.js 2096:12-46
Module not found: Error: Can't resolve './locale' in 'C:\Repos...\node_modules@elsa-workflows\elsa-workflows-studio\dist\esm'
Seems related to a previously fixed issue #4519
The text was updated successfully, but these errors were encountered: