angular2-tinymce icon indicating copy to clipboard operation
angular2-tinymce copied to clipboard

Module not found: angular 4

Open chanduzalte opened this issue 7 years ago • 1 comments

angular2-tinymce (2.0.4) was working fine with angular 4,

I just upgraded it to angular2-tinymce (3.2.0) with same angular 4 it returning an error in console (I'm using npm start)

cant find TinymceModule though I used same path as used with angular2-tinymce (2.0.4) in my app.module - nothing has changed in my code

but as I revert it to (v2.0.4) it works great !

ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve 'angular2-tinymce' in 'folder_path/src/app'
 @ ./src/app/app.module.ts 8:0-49
 @ ./src/app/index.ts
 @ ./src/main.browser.ts

I'm I missing something while upgrading from v2.0.4 to v3.2.0?

Pacakage.json =>

"dependencies": {
............
........
    "angular2-tinymce": "git+ssh://[email protected]/Ledzz/angular2-tinymce.git#3f931a3a27085f79d6b1a5cb1db3a65d6ce8f5e6",
.....
}

app.module.ts =>

import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { CookieService } from 'angular2-cookie/services/cookies.service';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { TinymceModule } from 'angular2-tinymce';

imports: [
   ..........
   ...........
    TinymceModule.withConfig({}),
    ..........
    ..........
]

chanduzalte avatar Jan 10 '19 11:01 chanduzalte

As its mentioned here , please use 4.9.3 version. This module doesn't support tinymce v5 so far. Thanks

jawad-aziz-farhad avatar Feb 26 '19 06:02 jawad-aziz-farhad