-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix
Milestone
Description
Bug Report or Feature Request (mark with an x
)
- [X] bug report -> please search issues before submitting
- [ ] feature request
Area
- [X] devkit
- [ ] schematics
Versions
ng --version v7.2.0
Repro steps
import { BrowserBuilder, } from '@angular-devkit/build-angular';
The log given by the failure
../../node_modules/@angular-devkit/build-angular/src/browser/schema.d.ts:417:14 - error TS2304: Cannot find name 'NormalizedSourceMaps'.
417 sourceMap: NormalizedSourceMaps;
~~~~~~~~~~~~~~~~~~~~
../../node_modules/@angular-devkit/build-angular/src/browser/schema.d.ts:420:17 - error TS2304: Cannot find name 'NormalizedOptimization'.
420 optimization: NormalizedOptimization;
~~~~~~~~~~~~~~~~~~~~~~
../../node_modules/@angular-devkit/build-angular/src/karma/schema.d.ts:61:11 - error TS2304: Cannot find name 'AssetPatternObject'.
61 assets: AssetPatternObject[];
~~~~~~~~~~~~~~~~~~
../../node_modules/@angular-devkit/build-angular/src/karma/schema.d.ts:62:21 - error TS2304: Cannot find name 'CurrentFileReplacement'.
62 fileReplacements: CurrentFileReplacement[];
~~~~~~~~~~~~~~~~~~~~~~
../../node_modules/@angular-devkit/build-angular/src/karma/schema.d.ts:63:14 - error TS2304: Cannot find name 'NormalizedSourceMaps'.
63 sourceMap: NormalizedSourceMaps;
~~~~~~~~~~~~~~~~~~~~
../../node_modules/@angular-devkit/build-angular/src/server/schema.d.ts:181:21 - error TS2304: Cannot find name 'CurrentFileReplacement'.
181 fileReplacements: CurrentFileReplacement[];
~~~~~~~~~~~~~~~~~~~~~~
../../node_modules/@angular-devkit/build-angular/src/server/schema.d.ts:182:14 - error TS2304: Cannot find name 'NormalizedSourceMaps'.
182 sourceMap: NormalizedSourceMaps;
~~~~~~~~~~~~~~~~~~~~
../../node_modules/@angular-devkit/build-angular/src/server/schema.d.ts:183:17 - error TS2304: Cannot find name 'NormalizedOptimization'.3:17 - error TS2304: Cannot find name 'NormalizedOptimization'.
183 optimization: NormalizedOptimization;
~~~~~~~~~~~~~~~~~~~~~~
Desired functionality
Compile w/o error when importing from @angular-devkit/build-angular.
Mention any other details that might be useful
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix