If 'nz-spin' is an Angular component, then verify that it is part of this module. 2. If 'nz-spin' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
1.Search NG-ZORRO documation? if nz-spin => search spin if nz-? => search ?
2.add the module to app.module.ts