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
{{ message }}
Repository navigation
Native federation is giving bundle error like: [ERROR] Could not resolve "globalize/date", [ERROR] Could not resolve "@angular/localize/tools" #1095
Reproduction of the bug/regression with instructions
While running "npm run start" angular 21 shell application it starting to give these errors with some packages:
✘ [ERROR] Could not resolve "@angular/localize/tools"
✘ [ERROR] No loader is configured for ".node" files: node_modules/@tailwindcss/oxide-win32-x64-msvc/tailwindcss-oxide.win32-x64-msvc.node
I really dont understand how can fix them
NOTE : end of the logs:
ERRR Error bundling shared npm package
ERRR Build failed with 20 errors:
node_modules/devextreme/esm/__internal/core/localization/globalize/core.js:16:22: ERROR: Could not resolve "globalize"
node_modules/devextreme/esm/__internal/core/localization/globalize/currency.js:12:7: ERROR: Could not resolve "globalize/currency"
node_modules/devextreme/esm/__internal/core/localization/globalize/currency.js:16:22: ERROR: Could not resolve "globalize"
node_modules/devextreme/esm/__internal/core/localization/globalize/date.js:11:7: ERROR: Could not resolve "globalize/date"
node_modules/devextreme/esm/__internal/core/localization/globalize/date.js:17:22: ERROR: Could not resolve "globalize"
...
ERRR For more information, run in verbose mode
NOTE
ERRR Build failed with 20 errors:
node_modules/devextreme/esm/__internal/core/localization/globalize/core.js:16:22: ERROR: Could not resolve "globalize"
node_modules/devextreme/esm/__internal/core/localization/globalize/currency.js:12:7: ERROR: Could not resolve "globalize/currency"
node_modules/devextreme/esm/__internal/core/localization/globalize/currency.js:16:22: ERROR: Could not resolve "globalize"
node_modules/devextreme/esm/__internal/core/localization/globalize/date.js:11:7: ERROR: Could not resolve "globalize/date"
node_modules/devextreme/esm/__internal/core/localization/globalize/date.js:17:22: ERROR: Could not resolve "globalize"
Expected behavior
These errors should not be occuured
Versions of Native/Module Federation, Angular, Node, Browser, and operating system
Native federation:
"@angular-architects/native-federation": "21.0.4",
"@angular/common": "21.2.6",
Node:22.20.0
OS: Windows
Other information
No response
I would be willing to submit a PR to fix this issue
Activity
Aukevanoost commentedon Apr 16, 2026
Could you create a small repo that makes the error reproducable? then I can take a look.