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

Issue with ngcc build #296

Closed
RoopanV opened this issue Jul 27, 2020 · 3 comments
Closed

Issue with ngcc build #296

RoopanV opened this issue Jul 27, 2020 · 3 comments

Comments

@RoopanV
Copy link

RoopanV commented Jul 27, 2020

Hi,
Facing below error with new ng-ckeditor@1.2.8

Warning: Unable to fully load D:/fusion/node_modules/ng2-ckeditor/lib/ng2-ckeditor.d.ts for source-map flattening: Circular source file mapping dependency: D:/fusion/node_modules/ng2-ckeditor/lib/ng2-ckeditor.d.ts.map -> D:/fusion/node_modules/ng2-ckeditor/lib/ng2-ckeditor.d.ts.map
Error: Tried to write D:/fusion/node_modules/ng2-ckeditor/lib/ng2-ckeditor.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, D:/fusion/node_modules/ng2-ckeditor/lib/ng2-ckeditor.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.

@kzimny
Copy link
Collaborator

kzimny commented Jul 27, 2020

@chymz: it seems to be a problem with the file structure in npm package. The compiled files are saved and published to ng2-ckeditor/lib folder. The ngcc compiler cannot find the entry point when package is build after installation. That worked in previous angular releases, but now the files from lib/ should be placed at the top in ng2-ckeditor folder. Please prepare a new npm package. Thanks!

@yabab-dev
Copy link
Owner

Sorry! Fixed in 1.2.9!

@kzimny
Copy link
Collaborator

kzimny commented Jul 28, 2020

Thanks! It works.

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

3 participants