{"id":1719,"date":"2018-07-30T09:51:40","date_gmt":"2018-07-30T00:51:40","guid":{"rendered":"http:\/\/www.cotegg.com\/blog\/?p=1719"},"modified":"2018-07-30T09:51:40","modified_gmt":"2018-07-30T00:51:40","slug":"angular-has-no-exported-member-xxxlogincomponent","status":"publish","type":"post","link":"https:\/\/www.cotegg.com\/blog\/?p=1719","title":{"rendered":"[Angular] has no exported member \u2018XXXLoginComponent&#8217;."},"content":{"rendered":"<p>\u3069\u3046\u3082\u4e2d\u7530\u3067\u3059<\/p>\n<p>Angular\u3067\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u3092\u968e\u5c64\u69cb\u9020\u306b\u3042\u3063\u305f\u540d\u524d\u306b\u3057\u3088\u3046\u3068\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u3092\u5909\u3048\u3066\u8d77\u52d5\u3057\u3066\u307f\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3061\u3083\u3063\u3066\u3002\u3002\u3068\u3044\u3046\u5185\u5bb9\u3067\u3059<\/p>\n<p><a href=\"http:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706-300x129.png\" alt=\"\" width=\"300\" height=\"129\" class=\"alignnone size-medium wp-image-1721\" srcset=\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706-300x129.png 300w, https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706-768x330.png 768w, https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706-1024x440.png 1024w, https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706.png 1514w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3053\u308c\u3067\u4f5c\u308a\u307e\u3057\u305f<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ ng g component xxx\/login\r\n<\/pre>\n<p>\u3093\u3067<br \/>\n<code>LoginComponent<\/code> => <code>XXXLoginComponent<\/code><br \/>\n\u3063\u3066\u30af\u30e9\u30b9\u540d\u3092\u5909\u66f4\u3057\u3066\u307f\u308b\u3068<\/p>\n<h3>\u30a8\u30e9\u30fc<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nERROR in src\/app\/xxx\/xxx-routing.module.ts(4,10): error TS2305: Module '&quot;\/src\/app\/xxx\/login\/login.component&quot;' has no exported member 'XXXLoginComponent'.\r\nsrc\/app\/xxx\/xxx.module.ts(6,10): error TS2305: Module '&quot;\/src\/app\/xxx\/login\/login.component&quot;' has no exported member 'XXXLoginComponent'.\r\n<\/pre>\n<p>\u305d\u306e\u6642\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3068\u3044\u3046\u3068<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n@Component({\r\n  selector: 'app-login',\r\n  templateUrl: '.\/login.component.html',\r\n  styleUrls: ['.\/login.component.css']\r\n})\r\nexport class XXXLoginComponent implements OnInit {\r\n\r\n  constructor() { }\r\n\r\n  ngOnInit() {\r\n  }\r\n\r\n}\r\n<\/pre>\n<p>\u3069\u3053\u304c\u304a\u304b\u3057\u3044\u306e\u304b\u306a\u30fc<\/p>\n<p>\u3069\u3053\u304b\u306a\u30fc<\/p>\n<h3>\u89e3\u6c7a<\/h3>\n<p>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306eselector\u3082\u3061\u3083\u3093\u3068\u540d\u524d\u3092\u5408\u308f\u305b\u306a\u3044\u3068\u3067\u3059\u306d<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n@Component({\r\n  selector: 'app-xxx-login',\r\n  templateUrl: '.\/login.component.html',\r\n  styleUrls: ['.\/login.component.css']\r\n})\r\n...\r\n...\r\n<\/pre>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u4e2d\u7530\u3067\u3059 Angular\u3067\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u3092\u968e\u5c64\u69cb\u9020\u306b\u3042\u3063\u305f\u540d\u524d\u306b\u3057\u3088\u3046\u3068 &#8230; <\/p>\n","protected":false},"author":2,"featured_media":1721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Angular] has no exported member \u2018XXXLoginComponent&#039;. | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cotegg.com\/blog\/?p=1719\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Angular] has no exported member \u2018XXXLoginComponent&#039;. | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"og:description\" content=\"\u3069\u3046\u3082\u4e2d\u7530\u3067\u3059 Angular\u3067\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u3092\u968e\u5c64\u69cb\u9020\u306b\u3042\u3063\u305f\u540d\u524d\u306b\u3057\u3088\u3046\u3068 ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cotegg.com\/blog\/?p=1719\" \/>\n<meta property=\"og:site_name\" content=\"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/COTegg.japan\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-30T00:51:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1514\" \/>\n\t<meta property=\"og:image:height\" content=\"650\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u4e2d\u7530 \u6b69\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:site\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4e2d\u7530 \u6b69\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1719#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1719\"},\"author\":{\"name\":\"\u4e2d\u7530 \u6b69\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef\"},\"headline\":\"[Angular] has no exported member \u2018XXXLoginComponent&#8217;.\",\"datePublished\":\"2018-07-30T00:51:40+00:00\",\"dateModified\":\"2018-07-30T00:51:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1719\"},\"wordCount\":104,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"articleSection\":[\"\u6280\u8853\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=1719#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1719\",\"url\":\"https:\/\/www.cotegg.com\/blog\/?p=1719\",\"name\":\"[Angular] has no exported member \u2018XXXLoginComponent'. | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\"},\"datePublished\":\"2018-07-30T00:51:40+00:00\",\"dateModified\":\"2018-07-30T00:51:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1719#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=1719\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1719#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cotegg.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Angular] has no exported member \u2018XXXLoginComponent&#8217;.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"name\":\"COTegg\u306e\u30d0\u30b1\u30c4\",\"description\":\"- Bucket of cotegg -\",\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\",\"name\":\"COTegg Inc.\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"contentUrl\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"width\":176,\"height\":60,\"caption\":\"COTegg Inc.\"},\"image\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/COTegg.japan\/\",\"https:\/\/twitter.com\/cotegg_japan\",\"https:\/\/www.instagram.com\/cotegg_japan\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef\",\"name\":\"\u4e2d\u7530 \u6b69\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g\",\"caption\":\"\u4e2d\u7530 \u6b69\"},\"sameAs\":[\"http:\/\/www.cotegg.com\"],\"url\":\"https:\/\/www.cotegg.com\/blog\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Angular] has no exported member \u2018XXXLoginComponent'. | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cotegg.com\/blog\/?p=1719","og_locale":"ja_JP","og_type":"article","og_title":"[Angular] has no exported member \u2018XXXLoginComponent'. | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","og_description":"\u3069\u3046\u3082\u4e2d\u7530\u3067\u3059 Angular\u3067\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u3092\u968e\u5c64\u69cb\u9020\u306b\u3042\u3063\u305f\u540d\u524d\u306b\u3057\u3088\u3046\u3068 ...","og_url":"https:\/\/www.cotegg.com\/blog\/?p=1719","og_site_name":"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","article_publisher":"https:\/\/www.facebook.com\/COTegg.japan\/","article_published_time":"2018-07-30T00:51:40+00:00","og_image":[{"width":1514,"height":650,"url":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2018\/07\/e7e3fc991f321d66c862099d6aacd706.png","type":"image\/png"}],"author":"\u4e2d\u7530 \u6b69","twitter_card":"summary_large_image","twitter_creator":"@cotegg_japan","twitter_site":"@cotegg_japan","twitter_misc":{"\u57f7\u7b46\u8005":"\u4e2d\u7530 \u6b69","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cotegg.com\/blog\/?p=1719#article","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=1719"},"author":{"name":"\u4e2d\u7530 \u6b69","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef"},"headline":"[Angular] has no exported member \u2018XXXLoginComponent&#8217;.","datePublished":"2018-07-30T00:51:40+00:00","dateModified":"2018-07-30T00:51:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=1719"},"wordCount":104,"commentCount":0,"publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"articleSection":["\u6280\u8853"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cotegg.com\/blog\/?p=1719#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cotegg.com\/blog\/?p=1719","url":"https:\/\/www.cotegg.com\/blog\/?p=1719","name":"[Angular] has no exported member \u2018XXXLoginComponent'. | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/#website"},"datePublished":"2018-07-30T00:51:40+00:00","dateModified":"2018-07-30T00:51:40+00:00","breadcrumb":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=1719#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cotegg.com\/blog\/?p=1719"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cotegg.com\/blog\/?p=1719#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cotegg.com\/blog"},{"@type":"ListItem","position":2,"name":"[Angular] has no exported member \u2018XXXLoginComponent&#8217;."}]},{"@type":"WebSite","@id":"https:\/\/www.cotegg.com\/blog\/#website","url":"https:\/\/www.cotegg.com\/blog\/","name":"COTegg\u306e\u30d0\u30b1\u30c4","description":"- Bucket of cotegg -","publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.cotegg.com\/blog\/#organization","name":"COTegg Inc.","url":"https:\/\/www.cotegg.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","contentUrl":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","width":176,"height":60,"caption":"COTegg Inc."},"image":{"@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/COTegg.japan\/","https:\/\/twitter.com\/cotegg_japan","https:\/\/www.instagram.com\/cotegg_japan\/"]},{"@type":"Person","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef","name":"\u4e2d\u7530 \u6b69","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g","caption":"\u4e2d\u7530 \u6b69"},"sameAs":["http:\/\/www.cotegg.com"],"url":"https:\/\/www.cotegg.com\/blog\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1719"}],"collection":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1719"}],"version-history":[{"count":1,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1719\/revisions"}],"predecessor-version":[{"id":1722,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1719\/revisions\/1722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/1721"}],"wp:attachment":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}