<?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 Re: SyntaxError: export declarations may only appear at top level of a module in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/393868#M949</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for the feedback.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We're working on improving our documentation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 07:29:17 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2018-04-11T07:29:17Z</dc:date>
    <item>
      <title>SyntaxError: export declarations may only appear at top level of a module</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/392868#M941</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm newbie in custom visuals development so sorry for a stupid question may be.&lt;/P&gt;&lt;P&gt;I follow &lt;A href="https://github.com/Microsoft/PowerBI-visuals" target="_self"&gt;this&lt;/A&gt; instruction for creating a new custom visual.&lt;/P&gt;&lt;P&gt;I created the new project using the same way as instruction says. It works fine.&lt;/P&gt;&lt;P&gt;Well, I installed d3 library and added typings using command:&lt;/P&gt;&lt;PRE&gt;npm install @types/d3@3.5 --save-dev&lt;/PRE&gt;&lt;P&gt;My little project understands type d3 after that. But it does not work now.&lt;/P&gt;&lt;P&gt;I did a little research and saw the following message in browser console:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2018-04-10_08-40-46.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90251i3A6867D946767CE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-04-10_08-40-46.png" alt="2018-04-10_08-40-46.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I see the script crashes because export command appears at NOT top level of module.&lt;/P&gt;&lt;P&gt;I will be grateful for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 06:11:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/392868#M941</guid>
      <dc:creator>rcyber</dc:creator>
      <dc:date>2018-04-10T06:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: SyntaxError: export declarations may only appear at top level of a module</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/393091#M942</link>
      <description>&lt;P&gt;What version of d3 did you install?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI Visuals Tools support d3v3 only.&lt;/P&gt;
&lt;P&gt;We'd recommend to install d3v3:&lt;/P&gt;
&lt;PRE&gt;npm i d3@3.5.5 @types/d3@3.5.36&lt;/PRE&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 09:30:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/393091#M942</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-04-10T09:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: SyntaxError: export declarations may only appear at top level of a module</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/393318#M945</link>
      <description>&lt;P&gt;Hello Ignat!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much! It works.&lt;/P&gt;&lt;P&gt;I think it will be good to update &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/ExternalLibraries.md" target="_self"&gt;this &lt;/A&gt;section of tutorial on Github.&lt;/P&gt;&lt;P&gt;It contains an example of d3 version 4.9.1 installation.&lt;/P&gt;&lt;P&gt;Thank you once again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:53:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/393318#M945</guid>
      <dc:creator>rcyber</dc:creator>
      <dc:date>2018-04-10T13:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: SyntaxError: export declarations may only appear at top level of a module</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/393868#M949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for the feedback.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We're working on improving our documentation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 07:29:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/SyntaxError-export-declarations-may-only-appear-at-top-level-of/m-p/393868#M949</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-04-11T07:29:17Z</dc:date>
    </item>
  </channel>
</rss>

