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
Hi, as best I can tell this component does not declare that is it not standalone. Since Angular 19, components now default to being standalone, so when used in conjunction with a fix to ng-mocks seen here I get the following error:
Unexpected "MockOf_NgxScannerQrcodeComponent" found in the "declarations" array of the
"MockOf_NgxScannerQrcodeModule" NgModule, "MockOf_NgxScannerQrcodeComponent" is marked as standalone and can't
be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?
It seems like this project just needs to amend the component to declare standalone: false explicitly. I would produce a PR to do so except this repo doesn't seem to actually contain the source code.
The text was updated successfully, but these errors were encountered:
Hi, as best I can tell this component does not declare that is it not standalone. Since Angular 19, components now default to being standalone, so when used in conjunction with a fix to
ng-mocks
seen here I get the following error:It seems like this project just needs to amend the component to declare
standalone: false
explicitly. I would produce a PR to do so except this repo doesn't seem to actually contain the source code.The text was updated successfully, but these errors were encountered: