bonjurmrfirst / ng4-files

20 stars 15 forks source link

error on first start after ng4-files integration #5

Closed osamasaeed closed 6 years ago

osamasaeed commented 6 years ago

core.es5.js:1020 ERROR Error: Uncaught (in promise): Error: Template parse errors: 'ng4-files-click' is not a known element:

  1. If 'ng4-files-click' is an Angular component, then verify that it is part of this module.
  2. If 'ng4-files-click' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
    [ERROR ->]<ng4-files-click (filesSelect)="filesSelect($event)">
bonjurmrfirst commented 6 years ago

I believe this is not related to ng4-files, but related to your imports section.

ecdpt commented 6 years ago

trying to install ng4-files on project created with angular cli gave the following error: +-- UNMET PEER DEPENDENCY @angular/common@4.4.6 +-- UNMET PEER DEPENDENCY @angular/core@4.4.6 +-- UNMET PEER DEPENDENCY @angular/http@4.4.6 +-- UNMET PEER DEPENDENCY @angular/platform-browser@4.4.6 `-- angular4-files-upload@1.0.2

2007ay commented 6 years ago

I am also getting same error ├── UNMET PEER DEPENDENCY @angular/common@4.4.5 ├── UNMET PEER DEPENDENCY @angular/core@4.4.5 ├── UNMET PEER DEPENDENCY @angular/platform-browser@4.4.5 └── angular4-files-upload@1.0.2