File tree 1 file changed +5
-2
lines changed
packages/schematics/update/update
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 5
5
* Use of this source code is governed by an MIT-style license that can be
6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
- import { logging } from '@angular-devkit/core' ;
8
+ import { logging , tags } from '@angular-devkit/core' ;
9
9
import {
10
10
Rule ,
11
11
SchematicContext ,
@@ -214,7 +214,10 @@ function _validateUpdatePackages(
214
214
} ) ;
215
215
216
216
if ( ! force && peerErrors ) {
217
- throw new SchematicsException ( `Incompatible peer dependencies found. See above.` ) ;
217
+ throw new SchematicsException ( tags . stripIndents
218
+ `Incompatible peer dependencies found.
219
+ Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
220
+ You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.` ) ;
218
221
}
219
222
}
220
223
You can’t perform that action at this time.
0 commit comments