x)- [X] bug report -> please search issues before submitting
- [ ] feature request
- [X] devkit
- [ ] schematics
node --version v8.11.1
npm --version 6.1.0
import { BrowserBuilderSchema } from '@angular-devkit/build-angular';
node_modules/@angular-devkit/build-angular/src/browser/schema.d.ts(52,21): error TS2304: Cannot find name 'FileReplacements'.
Compile w/o error when importing from @angular-devkit/build-angular.
BrowserBuilderSchema.fileReplacements is type FileReplacements[] but that is not a type. There is type FileReplacement though.
Same issue is in server node_modules/@angular-devkit/build-angular/src/server/schema.d.ts(75,21): error TS2304: Cannot find name 'FileReplacements'.
Hi, it seems the change not publish in latest version 0.8.1, our CI was broken now.
Also having this issue. ALthough I am using versions
I just commented out the line 52:
_fileReplacements: FileReplacements[];_
And then everything compiled fine.
Although this should only be a temporary fix
Is there a proper fix for this yet?
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Same issue is in server
node_modules/@angular-devkit/build-angular/src/server/schema.d.ts(75,21): error TS2304: Cannot find name 'FileReplacements'.