Skip to content

Module not found: angular 4  #78

@chanduzalte

Description

@chanduzalte

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({}),
    ..........
    ..........
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions