Module .../node_modules/ng2-ckeditor/lib/index.js does not export CKEditorModule
See original GitHub issueI’m using rollup.js to build and then receiving the error
Module ..../node_modules/ng2-ckeditor/lib/index.js does not export CKEditorModule (imported by /.../src/app/app.module.ts
Importing the module just like the doc provided:
import { CKEditorModule } from 'ng2-ckeditor';
@NgModule({
// ...
imports: [
CKEditorModule
],
// ...
})
export class AppModule { }
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
[Docs] The `CKEditorModule` should be imported into ... - GitHub
Exporting is required for ANY module, not only for CKEditor module if you are using it in some Shared Module. So say you...
Read more >es6 export default was not found but works from inside ...
To make CKEditor work in the <script type="module"> element, type: import {} from './ckeditor.js'. or, simply: import './ckeditor.js'.
Read more >export - JavaScript - MDN Web Docs
The export declaration is used to export values from a JavaScript module. Exported values can then be imported into other programs with the ......
Read more >module.exports – How to Export in Node.js and JavaScript
In this article, I will show you how to share functions and values by exporting and importing modules in Node.js.
Read more >Modules: Packages | Node.js v19.3.0 Documentation
When used to load a JavaScript text file that is not an ECMAScript module, ... Existing packages introducing the "exports" field will prevent...
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
I could run including ckeditor.component.ts, ckeditor.module.ts and index.ts on a folder ng2-ckeditor inside my project…
I am experiencing same error with version 4. How to resolve this. my tsconfig looks good. I don’t have rollup.config.
Thanks