Суть вопроса - приложение создано при помощи Quick Start от Angular 2. Хочу скомпилировать его и сделать продакш-версию. Делаю ng build, выходить такая ошибка. В чем проблема?
Your global Angular CLI version (1.0.0) is greater than your local
version (1.0.0-rc.2). The local Angular CLI version is used.
To disable this warning use "ng set --global warnings.versionMismatch=false".
Cannot read property 'Private' of undefined
TypeError: Cannot read property 'Private' of undefined
at Object.<anonymous> (C:\Users\user\PhpstormProjects\ordamed-angular-crm-goshan\node_modules\tsickle\build\src\tsickle.js:118:40)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\user\PhpstormProjects\ordamed-angular-crm-goshan\node_modules\@angular\tsc-wrapped\src\main.js:11:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)