I had the same problem, you have to upgrade the angular cli version to the latest beta, run this command:
first install it globally:
npm install -g @angular/cli@1.7.0-beta.1
// then you should update the current project:
npm install --save-dev @angular/cli@1.7.0-beta.1
source
share