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
This is more of a question than an issue, in case someone has a solution.
While trying to update Angular monorepo from 13.2.0 to 13.2.6 we started getting the following error in the unit tests of modules that import NgxFilesizeModule:
Importing NgxFilesizeModule which does not have a ɵmod property
Somewhat strange findings:
The errors are thrown only when running unit tests. Running the app in the browser seems to work just fine.
If we import FileSizePipe and add it to declarations instead of having NgxFilesizeModule in the imports, the unit tests finish successfully (however, the application can't be built anymore - error: Cannot declare 'FileSizePipe' in an NgModule as it's not a part of the current compilation.).
The does not have a ɵmod property errors are a known issue with pnpm, but the workarounds for that didn't seem to work for our case.
The text was updated successfully, but these errors were encountered:
ngx-filesize v2.0.16
This is more of a question than an issue, in case someone has a solution.
While trying to update Angular monorepo from 13.2.0 to 13.2.6 we started getting the following error in the unit tests of modules that import NgxFilesizeModule:
Somewhat strange findings:
FileSizePipe
and add it todeclarations
instead of havingNgxFilesizeModule
in the imports, the unit tests finish successfully (however, the application can't be built anymore - error:Cannot declare 'FileSizePipe' in an NgModule as it's not a part of the current compilation.
).The
does not have a ɵmod property
errors are a known issue with pnpm, but the workarounds for that didn't seem to work for our case.The text was updated successfully, but these errors were encountered: