angular-email-editor icon indicating copy to clipboard operation
angular-email-editor copied to clipboard

email-editor doesn't work

Open frontendjorge opened this issue 6 years ago • 6 comments

ERROR in src/app/app.module.ts(5,35): error TS2307: Cannot find module 'email-editor'.

frontendjorge avatar Feb 01 '19 17:02 frontendjorge

solved.... ng build firts

frontendjorge avatar Feb 01 '19 19:02 frontendjorge

ng build isn't fixing it for me

mbagliojr avatar Apr 08 '19 16:04 mbagliojr

HI, It's seems that a wrong import definition into src/app/app.module.ts file.

Replace import component by module, following this:

import { EmailEditorComponent } from '../../projects/email-editor/src/lib/email-editor.component'; must be: import { EmailEditorModule } from '../../projects/email-editor/src/lib/email-editor.module';

and

.... imports: [ BrowserModule, EmailEditorModule ],

abedev31 avatar Aug 19 '19 09:08 abedev31

I having similar issue "HtmlEditorModule" not found, after ng build module import issue resolved but getting error "export 'defineInjectable' was not found in '@angular/core' my package.json file is "dependencies": { "@angular/animations": "5.2.0", "@angular/cdk": "5.2.5", "@angular/common": "5.2.0", "@angular/compiler": "5.2.0", "@angular/core": "5.2.0", "@angular/forms": "5.2.0", "@angular/material": "5.2.5", "@angular/platform-browser": "5.2.0", "@angular/platform-browser-dynamic": "5.2.0", "@angular/router": "5.2.0", "@ng-bootstrap/ng-bootstrap": "1.0.0", "angular-email-editor": "^0.7.1", }

omprakash-sit avatar Sep 09 '20 04:09 omprakash-sit

I having similar issue "HtmlEditorModule" not found, after ng build module import issue resolved but getting error "export 'defineInjectable' was not found in '@angular/core' my package.json file is "dependencies": { "@angular/animations": "5.2.0", "@angular/cdk": "5.2.5", "@angular/common": "5.2.0", "@angular/compiler": "5.2.0", "@angular/core": "5.2.0", "@angular/forms": "5.2.0", "@angular/material": "5.2.5", "@angular/platform-browser": "5.2.0", "@angular/platform-browser-dynamic": "5.2.0", "@angular/router": "5.2.0", "@ng-bootstrap/ng-bootstrap": "1.0.0", "angular-email-editor": "^0.7.1", }

@omprakash-sit I had the same issue. angular-email-editor works with angular 7+. I had to upgrade my angular version from 5 to 7.

kaustubhkhare19 avatar Sep 09 '20 06:09 kaustubhkhare19

Its not working with angular 14 version.

error NG6002: 'EmailEditorModule' does not appear to be an NgModule class.

kishorkharade24 avatar Jan 22 '24 07:01 kishorkharade24