Error: Unexpected value 'CKEditorModule' imported by the module 'AppModule'
See original GitHub issueI have a new project created with the angular cli. I have installed this package using npm install ng2-ckeditor
and set up my system.config.js and app.module.ts files as per the example. I have run ng build and ng serve. The module is not loading, as I am getting the above error in my console?
Issue Analytics
- State:
- Created 7 years ago
- Comments:22 (6 by maintainers)
Top Results From Across the Web
Unexpected value 'CKEditorModule' imported by the module ...
Uncaught Error : Unexpected value 'CKEditorModule' imported by the module 'AppModule' After installing & importing in my app module.
Read more >Unexpected value ' ' imported by the module ' '. Please add a ...
The problem is when I try to compile the code I get this error: Unexpected value 'HttpClient' imported by the module 'AppModule'.
Read more >Error: Unexpected value 'undefined' imported by the module
I'm getting this error after migrating to NgModule, the error doesn't help too much, any advice please? Error: Error: Unexpected value 'undefined' imported...
Read more >Unexpected value 'CKEditorModule' imported by the module ...
Uncaught Error : Unexpected value 'CKEditorModule' imported by the module 'AppModule'. After installing & importing in my app module.
Read more >Untitled
This package contains the CKEditor module that will enable theCKEditor ... serve' Unexpected value 'MDCTextField' imported by the module 'AppModule'. minor ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep I see this error too… webpack seems to bundle ng2-ckeditor correctly. I’m not very familiar with webpack but i’ll take a look
@InigoWD you don’t need the system-js config if you use angular cli > 1.0.0 beta.14. webpack manages everything for you. but obviously there is a bug in the latest cli version. you can wait for a new release of the cli and everything will work out of the box.
Or you can use a local copy of the cli master branch, there is this bug already fixed. Here is some information how you can install it: https://github.com/angular/angular-cli#development-hints-for-hacking-on-angular-cli