HaithemMosbahi / ngx-avatar

Universal avatar component for angular 2+ applications makes it possible to fetch / generate avatar from different sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting error in angular 8

nikhilkapoorephesoft opened this issue · comments

I am using Angular 8

and followed a similar approach as mentioned in the document.

I am getting below mentioned errors
ERROR in ../node_modules/ngx-avatar/lib/avatar-config.token.d.ts(1,32): error TS2307: Cannot find module '@angular/core'.
../node_modules/ngx-avatar/lib/avatar.component.d.ts(1,78): error TS2307: Cannot find module '@angular/core'.
../node_modules/ngx-avatar/lib/avatar.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/ngx-avatar/lib/avatar.service.d.ts(1,28): error TS2307: Cannot find module '@angular/common/http'.
../node_modules/ngx-avatar/lib/avatar.service.d.ts(2,28): error TS2307: Cannot find module 'rxjs'.

Closing issue since it was my fault