{"id":759,"date":"2020-05-06T07:42:14","date_gmt":"2020-05-05T22:42:14","guid":{"rendered":"https:\/\/mattarishitemota.com\/?p=759"},"modified":"2020-05-06T07:56:52","modified_gmt":"2020-05-05T22:56:52","slug":"ng-test-%e3%81%a7-template-parse-errors","status":"publish","type":"post","link":"https:\/\/mattarishitemota.com\/?p=759","title":{"rendered":"ng test \u3067 Template parse errors"},"content":{"rendered":"\n<p>\u81ea\u52d5\u4f5c\u6210\u3055\u308c\u305f\u30c6\u30b9\u30c8\u3092\u3068\u308a\u3042\u3048\u305a\u5b9f\u884c\u3059\u308b\u3068\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u3002<\/p>\n\n\n\n<pre class=\"wp-block-verse\">Failed: Template parse errors: Can't bind to 'data' since it isn't a known property of 'ngl-picklist'. \n\n1. If 'ngl-picklist' is an Angular component and it has 'data' input, then verify that it is part of this module. \n2. If 'ngl-picklist' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. \n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. \n\n(\" &lt;li *ngFor=\"let items of itemsList; let i = index;\"> &lt;ngl-picklist [ERROR ->][data]=\"items\" [(nglPick)]=\"picksList[i]\" [(open)]=\"opens[i]\" \"): ng:\/\/\/DynamicTestModule\/ExpenseFilterComponent.html@3:6<\/pre>\n\n\n\n<p>TestBed.configureTestingModule \u3067\u5f15\u6570\u306b schemas: [ <a href=\"https:\/\/angular.jp\/api\/core\/NO_ERRORS_SCHEMA\">NO_ERRORS_SCHEMA<\/a> ] \u3092\u6307\u5b9a\u3059\u308b\u3068\u56de\u907f\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-ts\" data-lang=\"TypeScript\" data-line=\"3\"><code>TestBed.configureTestingModule({\n  declarations: [ ExpenseFilterComponent ],\n  schemas: [ NO_ERRORS_SCHEMA ]\n})<\/code><\/pre><\/div>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/angular.jp\/guide\/testing#no_errors_schema\" target=\"_blank\">https:\/\/angular.jp\/guide\/testing#no_errors_schema<\/a><\/p>\n\n\n\n<p>\u305f\u3060\u3001\u4f7f\u3044\u3059\u304e\u306f\u826f\u304f\u306a\u3044\u3089\u3057\u3044\u3002\u4f55\u3092\u30c6\u30b9\u30c8\u3059\u3079\u304d\u304b\u3092\u610f\u8b58\u3057\u3066\u3001\u305d\u306e\u5185\u5bb9\u3092\u30ab\u30d0\u30fc\u3067\u304d\u308b\u6700\u5c0f\u9650\u306e\u30b9\u30bf\u30d6\u3092\u4f5c\u308b\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>NO_ERRORS_SCHEMA\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306f2\u3064\u306e\u65b9\u6cd5\u3092\u4f7f\u3046\u3088\u308a\u3082\u7c21\u5358\u3067\u3059\u304c\u3001\u305d\u308c\u3092\u904e\u5ea6\u306b\u4f7f\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p><p>\u307e\u305f\u3001NO_ERRORS_SCHEMA\u306f\u3001\u8aa4\u3063\u3066\u7701\u7565\u3057\u305f\u3001 \u307e\u305f\u306f\u30b9\u30da\u30eb\u306e\u9593\u9055\u3063\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3084\u5c5e\u6027\u306b\u3064\u3044\u3066\u3082\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u77e5\u3089\u305b\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002 \u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u77ac\u6642\u306b\u6349\u3048\u3066\u3044\u305f\u96a0\u3055\u308c\u305f\u30d0\u30b0\u3092\u8ffd\u8de1\u3059\u308b\u6642\u9593\u3092\u7121\u99c4\u306b\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p><cite>Angular \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 > \u30c6\u30b9\u30c8<\/cite><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u52d5\u4f5c\u6210\u3055\u308c\u305f\u30c6\u30b9\u30c8\u3092\u3068\u308a\u3042\u3048\u305a\u5b9f\u884c\u3059\u308b\u3068\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u3002 Failed: Template parse errors: Can&#8217;t bind to &#8216;data&#8217; since it isn&#8217;t a known proper <span class=\"more-text\">&hellip;<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[23],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1055,"url":"https:\/\/mattarishitemota.com\/?p=1055","url_meta":{"origin":759,"position":0},"title":"DevExtreme\u3092\u4f7f\u3063\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30c6\u30b9\u30c8\u3067\u30a8\u30e9\u30fc","author":"Owner","date":"2020\u5e748\u670830\u65e5","format":false,"excerpt":"ng g component \u3067\u751f\u6210\u3057\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067 DevExtreme\u3092\u4f7f\u3046\u3068\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":533,"url":"https:\/\/mattarishitemota.com\/?p=533","url_meta":{"origin":759,"position":1},"title":"Angular\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\uff084.0.1\u21925.x\uff09","author":"Owner","date":"2020\u5e743\u670822\u65e5","format":false,"excerpt":"Angular Update Guide \u306b\u5f93\u3044\u5bfe\u5fdc\u3057\u3066\u307f\u308b\u3002 https:\/\/update.ang\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":811,"url":"https:\/\/mattarishitemota.com\/?p=811","url_meta":{"origin":759,"position":2},"title":"ng serve \u3060\u3068\u554f\u984c\u306a\u3044\u306e\u306b ng build &#8211;prod \u3060\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc","author":"Owner","date":"2020\u5e745\u670823\u65e5","format":false,"excerpt":"\u300c\u3055\u3041\u3044\u3088\u3044\u3088\u30ea\u30ea\u30fc\u30b9\u3060\uff01\u300d\u3068\u601d\u3063\u3066 ng build --prod \u3057\u305f\u3089\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u3002 ERR\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":611,"url":"https:\/\/mattarishitemota.com\/?p=611","url_meta":{"origin":759,"position":3},"title":"Angular\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\uff085.2.11\u21926.x\uff09","author":"Owner","date":"2020\u5e744\u67084\u65e5","format":false,"excerpt":"4\u21925\u306b\u5f15\u304d\u7d9a\u304d\u3001Angular Update Guide \u306b\u5f93\u3044\u5bfe\u5fdc\u3057\u3066\u307f\u308b\u3002 https:\/\/u\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":708,"url":"https:\/\/mattarishitemota.com\/?p=708","url_meta":{"origin":759,"position":4},"title":"Angular\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\uff086.1.10\u21927.x\uff09","author":"Owner","date":"2020\u5e744\u670821\u65e5","format":false,"excerpt":"5\u21926\u306b\u5f15\u304d\u7d9a\u304d\u3001Angular Update Guide \u306b\u5f93\u3044\u5bfe\u5fdc\u3057\u3066\u307f\u308b\u3002 https:\/\/u\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1162,"url":"https:\/\/mattarishitemota.com\/?p=1162","url_meta":{"origin":759,"position":5},"title":"mLab \u304b\u3089 MongoDB Atlas \u3078\u79fb\u884c\u305b\u3088\u3068\u306e\u30e1\u30fc\u30eb\u304c","author":"Owner","date":"2020\u5e749\u670826\u65e5","format":false,"excerpt":"\u3061\u3087\u3063\u3068\u3057\u305f\u500b\u4eba\u7528\u30b5\u30fc\u30d3\u30b9\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3068\u3057\u3066mLab\u3092\u4f7f\u3063\u3066\u3044\u308b\u304c\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30e1\u30fc\u30eb\u304c\u6765\u305f\u3002 H\u2026","rel":"","context":"IT","block_context":{"text":"IT","link":"https:\/\/mattarishitemota.com\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts\/759"}],"collection":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=759"}],"version-history":[{"count":4,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts\/759\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=\/wp\/v2\/posts\/759\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattarishitemota.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}