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

docs(ngcc): add additional next steps to an error #37672

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -49,8 +49,12 @@ export class InPlaceFileWriter implements FileWriter {
`Tried to write ${
backPath} with an ngcc back up file but it already exists so not writing, nor backing up, ${
file.path}.\n` +
`This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
`You should check other entry-points in this package and set up a config to ignore any that you are not using.`);
`This error may be caused by one of the following:\n` +
`* two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
` In this case, you should check other entry-points in this package\n` +
` and set up a config to ignore any that you are not using.\n` +
`* a previous run of ngcc was killed in the middle of processing, in a way that cannot be recovered.\n` +
` In this case, you should try cleaning the node_modules directory and any dist directories that contain local libraries. Then try again.`);
}
} else {
if (this.fs.exists(file.path)) {
Expand Down
Expand Up @@ -101,8 +101,12 @@ runInEachFileSystem(() => {
`Tried to write ${
absoluteBackupPath}.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, ${
absoluteBackupPath}.\n` +
`This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
`You should check other entry-points in this package and set up a config to ignore any that you are not using.`
`This error may be caused by one of the following:\n` +
`* two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
` In this case, you should check other entry-points in this package\n` +
` and set up a config to ignore any that you are not using.\n` +
`* a previous run of ngcc was killed in the middle of processing, in a way that cannot be recovered.\n` +
` In this case, you should try cleaning the node_modules directory and any dist directories that contain local libraries. Then try again.`
]]);
});
});
Expand Down