Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
Can't import component to another component through using selector

Angular 12 - This is my angular version

I tried to import a component to another component using a selector.I got this following error.

  1. If 'app-features' is an Angular component, then verify that it is part of this module.
  2. If 'app-features' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
    enter image description here
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

does app-features have it's own module where the component is declared and exported? if yes, you should import the module in the same module as home-component.

If not, you should declare the app-features component in the same module as home-component or in AppModule

about 4 years ago · Juan Pablo Isaza Report

0

this error happens when angular can not find which module a component actually belongs to! so first just find app-features module then add it to imports array of its module! easy!

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!