René's URL Explorer Experiment


Title: Generate component does not add automatically to module · Issue #2379 · NativeScript/nativescript-angular · GitHub

Open Graph Title: Generate component does not add automatically to module · Issue #2379 · NativeScript/nativescript-angular

X Title: Generate component does not add automatically to module · Issue #2379 · NativeScript/nativescript-angular

Description: Environment { "name": "TinaAppV2", "main": "./src/main.ts", "version": "1.0.0", "private": true, "dependencies": { "@angular/animations": "~13.2.0", "@angular/common": "~13.2.0", "@angular/compiler": "~13.2.0", "@angular/core": "~13.2.0"...

Open Graph Description: Environment { "name": "TinaAppV2", "main": "./src/main.ts", "version": "1.0.0", "private": true, "dependencies": { "@angular/animations": "~13.2.0", "@angular/common": "~13.2.0", "@angular/compiler...

X Description: Environment { "name": "TinaAppV2", "main": "./src/main.ts", "version": "1.0.0", "private": true, "dependencies": { &q...

Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/2379

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generate component does not add automatically to module","articleBody":"**Environment**\r\n```\r\n{\r\n  \"name\": \"TinaAppV2\",\r\n  \"main\": \"./src/main.ts\",\r\n  \"version\": \"1.0.0\",\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"@angular/animations\": \"~13.2.0\",\r\n    \"@angular/common\": \"~13.2.0\",\r\n    \"@angular/compiler\": \"~13.2.0\",\r\n    \"@angular/core\": \"~13.2.0\",\r\n    \"@angular/forms\": \"~13.2.0\",\r\n    \"@angular/platform-browser\": \"~13.2.0\",\r\n    \"@angular/platform-browser-dynamic\": \"~13.2.0\",\r\n    \"@angular/router\": \"~13.2.0\",\r\n    \"@nativescript/angular\": \"^13.0.0\",\r\n    \"@nativescript/core\": \"~8.2.2\",\r\n    \"@nativescript/firebase\": \"^11.1.2\",\r\n    \"@nativescript/firebase-core\": \"^1.0.0-alpha.36\",\r\n    \"@nativescript/firebase-crashlytics\": \"^1.0.0-alpha.36\",\r\n    \"@nativescript/firebase-database\": \"^1.0.0-alpha.36\",\r\n    \"@nativescript/firebase-messaging\": \"^1.0.0-alpha.36\",\r\n    \"@nativescript/mlkit-barcode-scanning\": \"^1.0.0-alpha.8\",\r\n    \"@nativescript/mlkit-core\": \"^1.0.0-alpha.8\",\r\n    \"@nativescript/theme\": \"~3.0.2\",\r\n    \"@nstudio/nativescript-loading-indicator\": \"^4.1.2\",\r\n    \"@nstudio/nativescript-pulltorefresh\": \"^3.0.2\",\r\n    \"nativescript-ui-listview\": \"^10.1.1\",\r\n    \"rxjs\": \"~7.5.0\",\r\n    \"zone.js\": \"~0.11.5\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@angular-devkit/build-angular\": \"~13.2.0\",\r\n    \"@angular/cli\": \"^13.3.6\",\r\n    \"@angular/compiler-cli\": \"~13.2.0\",\r\n    \"@nativescript/android\": \"8.2.2\",\r\n    \"@nativescript/schematics\": \"^11.2.0\",\r\n    \"@nativescript/types\": \"~8.2.0\",\r\n    \"@nativescript/webpack\": \"~5.0.6\",\r\n    \"@ngtools/webpack\": \"~13.2.0\",\r\n    \"typescript\": \"~4.5.5\"\r\n  }\r\n}\r\n```\r\nNativescript : 8.2.3\r\nAngular CLI: 10.1.1\r\nAngular: 13.2.7\r\n \r\n**Describe the bug**\r\nWhen creating a new component using the command ``ng g c component-name``, the component is successfully created but it is not added to app.module.ts. I always have to add the component in the module manually. I didn't have that problem with nativescript 6\r\n\r\n**To Reproduce**\r\nThe commands I have tried :\r\n``ng generate component component-name``\r\n``ng g c component-name``\r\n``ng g c component-name  --m app.module.ts``\r\n``ng g c app.module.ts/component-name``\r\n``ng g component component-name --module=app.module.ts``\r\n``ng g c component-name -m app.module.ts``\r\nNone of those commands add the component in the app.module after creating it\r\n\r\n**Expected behavior**\r\nThe component is created and automatically added to declarations in app.module\r\n\r\n","author":{"url":"https://github.com/danouche93","@type":"Person","name":"danouche93"},"datePublished":"2022-05-25T09:47:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2379/nativescript-angular/issues/2379"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:608d20c5-368a-3308-ab53-ee2716c8e4a2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8FF2:3BFB17:25564CB:303562E:69748106
html-safe-nonce644c306476f23aa4b8a86be4c921e932cf93b135e9870919f031b254e91e8390
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkYyOjNCRkIxNzoyNTU2NENCOjMwMzU2MkU6Njk3NDgxMDYiLCJ2aXNpdG9yX2lkIjoiMTAzMDMyNTkwODMzOTQ1ODMxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf56b227682bac7f162ca8b6aa75548ec2d58b7a8410e0bf52ea0b885f99fe698
hovercard-subject-tagissue:1247841251
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-angular/2379/issue_layout
twitter:imagehttps://opengraph.githubassets.com/48d952dc19c4afae234dc4ed1070d18ce3d7143aed8a6ed4f988337cf29155ca/NativeScript/nativescript-angular/issues/2379
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/48d952dc19c4afae234dc4ed1070d18ce3d7143aed8a6ed4f988337cf29155ca/NativeScript/nativescript-angular/issues/2379
og:image:altEnvironment { "name": "TinaAppV2", "main": "./src/main.ts", "version": "1.0.0", "private": true, "dependencies": { "@angular/animations": "~13.2.0", "@angular/common": "~13.2.0", "@angular/compiler...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanouche93
hostnamegithub.com
expected-hostnamegithub.com
Nonee0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-angular git https://github.com/NativeScript/nativescript-angular.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id35951404
octolytics-dimension-repository_nwoNativeScript/nativescript-angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id35951404
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fe7e2e8de6e57740bca50402351ea656f7a4bf
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues/2379#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-angular%2Fissues%2F2379
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-angular%2Fissues%2F2379
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-angular
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues/2379
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues/2379
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues/2379
NativeScript https://patch-diff.githubusercontent.com/NativeScript
nativescript-angularhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-angular
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues/2379
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Fork 240 https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Star 1.2k https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Code https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular
Issues 294 https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues
Pull requests 2 https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/pulls
Actions https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/actions
Security 0 https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/security
Insights https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/pulse
Code https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular
Issues https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues
Pull requests https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/pulls
Actions https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/actions
Security https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/security
Insights https://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/NativeScript/nativescript-angular/issues/2379
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/NativeScript/nativescript-angular/issues/2379
Generate component does not add automatically to modulehttps://patch-diff.githubusercontent.com/NativeScript/nativescript-angular/issues/2379#top
https://github.com/danouche93
https://github.com/danouche93
danouche93https://github.com/danouche93
on May 25, 2022https://github.com/NativeScript/nativescript-angular/issues/2379#issue-1247841251
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.