question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Unexpected value 'CKEditorModule' imported by the module 'AppModule'

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
chymzcommented, Oct 17, 2016

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

1reaction
devCrossNetcommented, Oct 20, 2016

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found