deej81 / ngx-croppie

16 stars 23 forks source link

Cannot find name 'Croppie'. #2

Closed jpradeep2003 closed 7 years ago

jpradeep2003 commented 7 years ago

I am getting the following compilation error:

[04:49:45]  typescript: node_modules/ngx-croppie/src/ngx-croppie.component.ts, line: 12
            Cannot find name 'CroppieOptions'.

      L11:  @ViewChild('imageEdit') imageEdit: ElementRef;
      L12:  @Input() croppieOptions: CroppieOptions;
      L13:  @Input() imageUrl: string;

            Cannot find name 'Croppie'.

      L17:      private _croppie: Croppie;
[04:49:45]  typescript: node_modules/ngx-croppie/src/ngx-croppie.component.ts, line: 17

I am using following dependencies in package.json:

    "croppie": "^2.5.0",
    "ngx-croppie": "^0.1.2",
deej81 commented 7 years ago

sorry for the massive amount of time it's taken to reply, work is mad right now!

I've investigated briefly and can't reproduce this issue I'm afraid. I've checked the example app https://github.com/deej81/ngx-croppie-example and it appears to be building fine, I've set it CI on it to keep an eye on the status. If I don't hear back in a week or so I'll assume you've long since moved on from my poor levels of support and close this issue.

Sorry again.