We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular CLI: 6.0.0 Node: 8.11.1 OS: win32 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-ng-packagr 0.6.0 @angular-devkit/build-optimizer 0.6.0 @angular-devkit/core 0.6.0 @angular-devkit/schematics 0.6.0 @ngtools/json-schema 1.1.0 @ngtools/webpack 6.0.0 @schematics/angular 0.6.0 @schematics/update 0.6.0 ng-packagr 3.0.0-rc.2 rxjs 6.1.0 typescript 2.7.2 webpack 4.6.0
ng new myApp
ng g library someLib
ng g c subComp
Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
I would expect it to generate a component and register it in the main library module just like it does with a new application.
I couldn't find anything in the docs explaining if this is the right approach (I guess this is another issue). Is this by design?
The text was updated successfully, but these errors were encountered:
Same here, its a bug: #10653 #10672
Sorry, something went wrong.
Closing... Duplicate of #10653
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.
No branches or pull requests
Versions
Repro steps
ng new myApp
ng g library someLib
ng g c subComp
Observed behavior
Desired behavior
I would expect it to generate a component and register it in the main library module just like it does with a new application.
I couldn't find anything in the docs explaining if this is the right approach (I guess this is another issue). Is this by design?
The text was updated successfully, but these errors were encountered: