File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/schematics/update/update Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8- import { logging } from '@angular-devkit/core' ;
8+ import { logging , tags } from '@angular-devkit/core' ;
99import {
1010 Rule ,
1111 SchematicContext ,
@@ -214,7 +214,10 @@ function _validateUpdatePackages(
214214 } ) ;
215215
216216 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.` ) ;
218221 }
219222}
220223
You can’t perform that action at this time.
0 commit comments