This repository was archived by the owner on Oct 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 175
ng build generates dist/index.html w/ contents of 'undefined' after angular-cli beta.6 upgrade #66
Comments
dist/index.html
w/ contents of 'undefined' after angular-cli beta.6
upgrade
I thought that this might be related to angular/angular-cli#1042, but that does not appear to be the case. I was able to solve this by reverting the version of
From the version provided by the angular-cli beta.6 which is:
I also tried a newer version of universal, but saw the same behavior:
|
I also tried with the latest of all of the angular-universal libraries, but saw the same problem:
|
8 tasks
Opened angular/universal#445 to see if this is something that can be fixed on the angular-universal side or not. |
This also happen to me with
@Splaktar suggestion for downgrading "angular2-universal" to "0.100.5" seems to make it work. |
This is also being tracked here: angular/angular-cli#958 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OS X El Capitan
ng --version
.do on your code? etc.
Created with
beta.5
CLI with --mobile and then upgraded withng init --mobile
forbeta.6
.Only changes were to merge my existing app back into the files overwritten by the CLI.
Also able to reproduce this in a brand new beta.6 project by doing:
more information.
Unfortunately there is no error output at all.
Contents of
dist/index.html
:ng build --prod
on a new project seems to give an error that might be helpful:The text was updated successfully, but these errors were encountered: