File tree 2 files changed +12
-4
lines changed
packages/compiler-cli/ngcc
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,12 @@ export class InPlaceFileWriter implements FileWriter {
49
49
`Tried to write ${
50
50
backPath } with an ngcc back up file but it already exists so not writing, nor backing up, ${
51
51
file . path } .\n` +
52
- `This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
53
- `You should check other entry-points in this package and set up a config to ignore any that you are not using.` ) ;
52
+ `This error may be caused by one of the following:\n` +
53
+ `* two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
54
+ ` In this case, you should check other entry-points in this package\n` +
55
+ ` and set up a config to ignore any that you are not using.\n` +
56
+ `* a previous run of ngcc was killed in the middle of processing, in a way that cannot be recovered.\n` +
57
+ ` In this case, you should try cleaning the node_modules directory and any dist directories that contain local libraries. Then try again.` ) ;
54
58
}
55
59
} else {
56
60
if ( this . fs . exists ( file . path ) ) {
Original file line number Diff line number Diff line change @@ -101,8 +101,12 @@ runInEachFileSystem(() => {
101
101
`Tried to write ${
102
102
absoluteBackupPath } .__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, ${
103
103
absoluteBackupPath } .\n` +
104
- `This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
105
- `You should check other entry-points in this package and set up a config to ignore any that you are not using.`
104
+ `This error may be caused by one of the following:\n` +
105
+ `* two or more entry-points overlap and ngcc has been asked to process some files more than once.\n` +
106
+ ` In this case, you should check other entry-points in this package\n` +
107
+ ` and set up a config to ignore any that you are not using.\n` +
108
+ `* a previous run of ngcc was killed in the middle of processing, in a way that cannot be recovered.\n` +
109
+ ` In this case, you should try cleaning the node_modules directory and any dist directories that contain local libraries. Then try again.`
106
110
] ] ) ;
107
111
} ) ;
108
112
} ) ;
You can’t perform that action at this time.
0 commit comments