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

Error: Duplicate identifier 'type'. Module '"./*"' has no exported member #414

Open
madieukhang opened this issue Mar 22, 2024 · 0 comments

Comments

@madieukhang
Copy link

madieukhang commented Mar 22, 2024

Hi I'm using angular v11 and install CKEditor5 "@ckeditor/ckeditor5-angular": "^4.0.0",
I'm using the Document editor build "@ckeditor/ckeditor5-build-decoupled-document": "^34.2.0" and work normally
Now i want using custom build for using more plugins and create an editor build using Online Builder follow step by step on Docs and got this error:

Error: node_modules/@ckeditor/ckeditor5-utils/src/index.d.ts:9:27 - error TS2300: Duplicate identifier 'type'.

9 export { default as diff, type DiffResult } from './diff.js';
                            ~~~~


Error: node_modules/@ckeditor/ckeditor5-utils/src/index.d.ts:9:27 - error TS2614: Module '"./diff.js"' has no exported member 'type'. Did you mean to use 'import type from "./diff.js"' instead?

9 export { default as diff, type DiffResult } from './diff.js';
                            ~~~~
Error: node_modules/@ckeditor/ckeditor5-widget/src/widget.d.ts:9:29 - error TS1005: ',' expected.

9 import { type Element, type Node } from '@ckeditor/ckeditor5-engine';
                              ~~~~


Error: node_modules/@ckeditor/ckeditor5-widget/src/widgetresize.d.ts:10:10 - error TS2300: Duplicate identifier 'type'.

10 import { type Element, type ViewContainerElement } from '@ckeditor/ckeditor5-engine';
            ~~~~
.....

image

I try to update newest "@ckeditor/ckeditor5-build-decoupled-document" and got same error anyone know about error?

Please help me, i will send more about this error if you need
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

1 participant