angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

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

Open ctrl-brk opened this issue 9 years ago • 21 comments

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

ctrl-brk avatar Feb 19 '17 01:02 ctrl-brk

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.