<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tsconfig.json exclude give TypeError in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/tsconfig-json-exclude-give-TypeError/m-p/68452#M2233</link>
    <description>&lt;P&gt;Hey&amp;nbsp;@All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i add this sample code in a new created project i got an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "compilerOptions": {
        "module": "commonjs",
        "noImplicitAny": true,
        "removeComments": true,
        "preserveConstEnums": true,
        "outFile": "../../built/local/tsc.js",
        "sourceMap": true
    },
    "exclude": [
        "node_modules",
        "wwwroot"
    ]
}&lt;/PRE&gt;&lt;P&gt;This is the Error:&lt;/P&gt;&lt;PRE&gt; info   Building visual...
 error  UNKNOWN TypeError: Cannot read property 'filter' of undefined
    at e (C:\Users\X180538\AppData\Roaming\npm\node_modules\powerbi-visuals-tool
s\lib\VisualBuilder.js:164:45)
    at VisualBuilder._validateApiVersion (C:\Users\X180538\AppData\Roaming\npm\n
ode_modules\powerbi-visuals-tools\lib\VisualBuilder.js:145:16)
    at VisualBuilder.build (C:\Users\X180538\AppData\Roaming\npm\node_modules\po
werbi-visuals-tools\lib\VisualBuilder.js:91:21)
    at VisualPackage.loadVisualPackage.then (C:\Users\X180538\AppData\Roaming\np
m\node_modules\powerbi-visuals-tools\bin\pbiviz-package.js:55:13)
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Module.runMain (module.js:592:11)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3&lt;/PRE&gt;&lt;P&gt;Iám not sure where is the error. When i only use Files in tsconfig everything works fine. But i need to use exclude and includes for the scatterchart in PowerBI-visuals-core.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2016 00:31:14 GMT</pubDate>
    <dc:creator>Mcburn</dc:creator>
    <dc:date>2016-09-15T00:31:14Z</dc:date>
    <item>
      <title>tsconfig.json exclude give TypeError</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/tsconfig-json-exclude-give-TypeError/m-p/68452#M2233</link>
      <description>&lt;P&gt;Hey&amp;nbsp;@All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i add this sample code in a new created project i got an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "compilerOptions": {
        "module": "commonjs",
        "noImplicitAny": true,
        "removeComments": true,
        "preserveConstEnums": true,
        "outFile": "../../built/local/tsc.js",
        "sourceMap": true
    },
    "exclude": [
        "node_modules",
        "wwwroot"
    ]
}&lt;/PRE&gt;&lt;P&gt;This is the Error:&lt;/P&gt;&lt;PRE&gt; info   Building visual...
 error  UNKNOWN TypeError: Cannot read property 'filter' of undefined
    at e (C:\Users\X180538\AppData\Roaming\npm\node_modules\powerbi-visuals-tool
s\lib\VisualBuilder.js:164:45)
    at VisualBuilder._validateApiVersion (C:\Users\X180538\AppData\Roaming\npm\n
ode_modules\powerbi-visuals-tools\lib\VisualBuilder.js:145:16)
    at VisualBuilder.build (C:\Users\X180538\AppData\Roaming\npm\node_modules\po
werbi-visuals-tools\lib\VisualBuilder.js:91:21)
    at VisualPackage.loadVisualPackage.then (C:\Users\X180538\AppData\Roaming\np
m\node_modules\powerbi-visuals-tools\bin\pbiviz-package.js:55:13)
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Module.runMain (module.js:592:11)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3&lt;/PRE&gt;&lt;P&gt;Iám not sure where is the error. When i only use Files in tsconfig everything works fine. But i need to use exclude and includes for the scatterchart in PowerBI-visuals-core.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 00:31:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/tsconfig-json-exclude-give-TypeError/m-p/68452#M2233</guid>
      <dc:creator>Mcburn</dc:creator>
      <dc:date>2016-09-15T00:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: tsconfig.json exclude give TypeError</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/tsconfig-json-exclude-give-TypeError/m-p/69360#M2271</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13638"&gt;@Mcburn﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the&amp;nbsp;code in powerbi-visuals-tools\lib\VisualBuilder.js, files seems to be necessary. And you may also reach out for help at &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/tools/README.md" target="_self"&gt;github&lt;/A&gt;.&lt;/P&gt;&lt;PRE&gt;let apiDtsFiles = tsConfig.files.filter(i =&amp;gt; i.match(/.api\/.+\/PowerBI-visuals.d.ts$/));&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 03:40:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/tsconfig-json-exclude-give-TypeError/m-p/69360#M2271</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2016-09-19T03:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: tsconfig.json exclude give TypeError</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/tsconfig-json-exclude-give-TypeError/m-p/69517#M2277</link>
      <description>&lt;P&gt;Okay i should create a github issue. Maybe this is a good feature for the new pbiviz tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the line of code you post got an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your experiance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nice Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mcburn&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 10:23:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/tsconfig-json-exclude-give-TypeError/m-p/69517#M2277</guid>
      <dc:creator>Mcburn</dc:creator>
      <dc:date>2016-09-19T10:23:37Z</dc:date>
    </item>
  </channel>
</rss>

