📅  最后修改于: 2022-03-11 15:03:19.603000             🧑  作者: Mango
I had this problem when I was importing the page (component) rather than the module, and it wasn’t giving any compilation errors but then module not known at runtime. In your app.module.ts put your module in the imports list.