Skip to content

Symbol without members expected error after 2.4.7 -> 4.0.0-beta.8 #4821

Closed
@ctrl-brk

Description

@ctrl-brk

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior
After moving from 2.4.7 to 4.0.0-beta.8 I'm getting the following error when executing ng build -prod. Just ng build (without -prod) works fine.

ERROR in Illegal state: symbol without members expected, but got {"filePath":"C:/Projects/myproj/node_modules/@angular/router/index.d.ts","name":"router_private","members":["ROUTER_PROVIDERS"]}.

Expected behavior

ng build -prod should work as ng build

Please tell us about your environment:
Windows 10, @angular/cli 1.0.0-beta.32.3

  • Angular version: 4.0.0-beta.8
  • Node (for AoT issues): node --version = 7.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions