note: this was filed by @IgorMinar from wards computer, so blame @IgorMinar for any pain this issue has caused to you. ### OS? > Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) MacOS ### Versions. global: ``` $ ng version @angular/cli: 1.0.0-beta.29 node: 6.9.5 os: darwin x64 @angular/common: 2.4.5 @angular/compiler: 2.4.5 @angular/core: 2.4.5 @angular/forms: 2.4.5 @angular/http: 2.4.5 @angular/material: 2.0.0-beta.1 @angular/platform-browser: 2.4.5 @angular/platform-browser-dynamic: 2.4.5 @angular/router: 3.4.5 @angular/compiler-cli: 2.4.5 ``` local: ``` $ $(yarn bin)/ng version angular-cli: 1.0.0-beta.28.3 node: 6.9.5 os: darwin x64 @angular/common: 2.4.5 @angular/compiler: 2.4.5 @angular/core: 2.4.5 @angular/forms: 2.4.5 @angular/http: 2.4.5 @angular/material: 2.0.0-beta.1 @angular/platform-browser: 2.4.5 @angular/platform-browser-dynamic: 2.4.5 @angular/router: 3.4.5 @angular/compiler-cli: 2.4.5 ``` ### Repro steps. > Was this an app that wasn't created using the CLI? What change did you do on your code? etc. ``` $ ng build You have to be inside an angular-cli project in order to use the build command. ``` but if I do: ``` $ $(yarn bin)/ng build .... works just fine .... ```