hunk.code_window:       ['build'],
         /Could not find the '@angular-devkit\/build-angular:browser' builder's node package\./,
       );
       await execAndWaitForOutputToMatch('ng', ['build'], /Node packages may not be installed\./);
     } finally {
       await moveFile('temp_node_modules', 'node_modules');
       await installPackage('@angular-devkit/build-angular');
     }
   }
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:     await execAndWaitForOutputToMatch(
         'ng',
         ['build'],
         new RegExp(
           `Node packages may not be installed\. Try installing with '${getActivePackageManager()} install'\.`,
         ),
       );
  
hunk.file_path: tests/legacy-cli/e2e/tests/commands/builder-not-found.ts
hunk.type: replace
file: /**
   * @license
   * Copyright Google LLC All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   */
  
  import { Path, basename, dirname, join, normalize } from '@angular-devkit/core';
  
  export interface Location {
    name: string;
    path: Path;
  }
  
  export function parseName(path: string, name: string): Location {
    const nameWithoutPath = basename(normalize(name));
    const namePath = dirname(join(normalize(path), name));
  
    return {
      name: nameWithoutPath,
      path: normalize('/' + namePath),
    };
  }
  