Skip to content

Cannot find name 'FileReplacements'. #11294

@mina-skunk

Description

@mina-skunk

Bug Report or Feature Request (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request

Area

- [X] devkit
- [ ] schematics

Versions

node --version v8.11.1
npm --version 6.1.0

Repro steps

import { BrowserBuilderSchema } from '@angular-devkit/build-angular';

The log given by the failure

node_modules/@angular-devkit/build-angular/src/browser/schema.d.ts(52,21): error TS2304: Cannot find name 'FileReplacements'.

Desired functionality

Compile w/o error when importing from @angular-devkit/build-angular.

Mention any other details that might be useful

BrowserBuilderSchema.fileReplacements is type FileReplacements[] but that is not a type. There is type FileReplacement though.

Activity

Narrator

Narrator commented on Jun 28, 2018

@Narrator

Same issue is in server node_modules/@angular-devkit/build-angular/src/server/schema.d.ts(75,21): error TS2304: Cannot find name 'FileReplacements'.

added 2 commits that reference this issue on Sep 6, 2018
fb0dd5f
fa3037f
phodal

phodal commented on Sep 14, 2018

@phodal

Hi, it seems the change not publish in latest version 0.8.1, our CI was broken now.

10 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @phodal@Narrator@Brocco@filipesilva@mina-skunk

      Issue actions

        Cannot find name 'FileReplacements'. · Issue #11294 · angular/angular-cli