I'm trying to run the following command: ng build --target=production --base-href /
but it gives me the following error:
Error: Cannot determine project or target for Architect command. at MergeMapSubscriber._loadWorkspaceAndArchitect.pipe.operators_1.concatMap [as project] (C:\training\angular4\angular-reddit\node_modules\@angular\cli\models\architect-command.js:70:27) at MergeMapSubscriber._tryNext (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\operators\mergeMap.js:65:27) at MergeMapSubscriber._next (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\operators\mergeMap.js:55:18) at MergeMapSubscriber.Subscriber.next (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\Subscriber.js:64:18) at TapSubscriber._next (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\operators\tap.js:62:26) at TapSubscriber.Subscriber.next (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\Subscriber.js:64:18) at MergeMapSubscriber.notifyNext (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\operators\mergeMap.js:84:26) at InnerSubscriber._next (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\InnerSubscriber.js:25:21) at InnerSubscriber.Subscriber.next (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\Subscriber.js:64:18) at MapSubscriber._next (C:\training\angular4\angular-reddit\node_modules\rxjs\internal\operators\map.js:52:26)
I'm New to Angular. Can anyone help me?