ng-build fails after last update

Bug description: ng-build fails after last patch update

I’ve installed version 1.0.0-beta.5 few weeks earlier, and set it to update patches (^1.0.0-beta.5)
Last Thursday night we run successful build, but today it failed with the following error:

ERROR in Error: Metadata version mismatch for module C:/********/node_modules/@ng-bootstrap/ng-bootstrap/index.d.ts, found version 4, expected 3, resolving symbol ......

revert to version 1.0.0-beta.5 solved this issue.

Version of Angular, ng-bootstrap, and Bootstrap:

Angular: 4.2.4

ng-bootstrap: 1.0.0-beta.7

Bootstrap: 4.0.0-beta

1 possible answer(s) on “ng-build fails after last update