Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not found: angular 4 #78

Open
chanduzalte opened this issue Jan 10, 2019 · 1 comment
Open

Module not found: angular 4 #78

chanduzalte opened this issue Jan 10, 2019 · 1 comment

Comments

@chanduzalte
Copy link

chanduzalte commented Jan 10, 2019

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({}),
    ..........
    ..........
]
@jawad-aziz-farhad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants