Error for service reference in Angular

Asked

Viewed 41 times

1

Good morning,

I have the problem to reference a service at the angle. It follows error:

ERROR in c:/Projetos/Livroangular2/src/app/lista-pessoa-vip/lista-pessoa-vip.component.ts (2,10): Module "c:/Projects/Booking2/src/app/list-person-vip/person-service.service"' has on Exported Member 'Personal'.

ERROR in c:/Projetos/Livroangular2/src/app/lista-pessoa-vip/lista-pessoa-vip.component.ts (2,10): Module "c:/Projects/Booking2/src/app/list-person-vip/person-service.service"' has on Exported Member 'Personal'.

Thank you!

  • Hello, it would be nice to inform you what you are doing, with which code, put the example of the code, a question only with the error does not help the guys to help =(

1 answer

0

You have to call him there in the ngModules. make his import there.

  • Thank you Gilmar, I solved the problem with your help.

  • Mark as solved please :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.