Moved from https://github.com/angular/devkit/issues/955 by @ampgular
x)Angular CLI: 6.0.0
Node: 10.1.0
NPM: 5.6.0
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/devkit 0.0.0
@angular-devkit/schematics 0.6.3
@angular/platform-server 6.0.2
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0
1- ng new newproject
2 - ng run --help
Cannot determine project or target for Architect command.
Error: Cannot determine project or target for Architect command.
at MergeMapSubscriber._loadWorkspaceAndArchitect.pipe.operators_1.concatMap [as project] (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/@angular/cli/models/architect-command.js:75:27)
at MergeMapSubscriber._tryNext (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/operators/mergeMap.js:122:27)
at MergeMapSubscriber._next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/operators/mergeMap.js:112:18)
at MergeMapSubscriber.Subscriber.next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/Subscriber.js:103:18)
at TapSubscriber._next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/operators/tap.js:109:26)
at TapSubscriber.Subscriber.next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/Subscriber.js:103:18)
at MergeMapSubscriber.notifyNext (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/operators/mergeMap.js:141:26)
at InnerSubscriber._next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/InnerSubscriber.js:30:21)
at InnerSubscriber.Subscriber.next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/Subscriber.js:103:18)
at MapSubscriber._next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/operators/map.js:92:26)
at MapSubscriber.Subscriber.next (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/Subscriber.js:103:18)
at MergeMapSubscriber.notifyNext (/Users/Javier/Documents/NuileaWeb/scheTest/node_modules/rxjs/internal/operators/mergeMap.js:141:26).......
Provide the required help
ng run needs a target in the format of project:target and is erroring out because of that. But without checking the help for this command it's hard to know that.
We should show the proper help even if there is no target.
Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.
Fixes in 7.0.0-beta.4
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
ng runneeds a target in the format ofproject:targetand is erroring out because of that. But without checking the help for this command it's hard to know that.We should show the proper help even if there is no target.