<?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: Why am I getting require is not defined in my jsbin code? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303474#M27862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does, but that's 3.8. Did you notice something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 14:59:51 GMT</pubDate>
    <dc:creator>ChrisSergent</dc:creator>
    <dc:date>2015-07-30T14:59:51Z</dc:date>
    <item>
      <title>Why am I getting require is not defined in my jsbin code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303472#M27860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was testing my application and the text value does not display in Google Chrome, the most recent version. So, I then tested my code in jsbin at: &lt;A href="https://jsbin.com/cepekejajo/edit?html,console,output" title="https://jsbin.com/cepekejajo/edit?html,console,output"&gt;JS Bin - Collaborative JavaScript Debugging&amp;nbsp; &lt;/A&gt; and I receive the following error:&amp;nbsp; &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="margin-left: 20px;"&gt;&lt;SPAN class="str" style="color: #008800;"&gt;"error"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="margin-left: 20px;"&gt;&lt;SPAN class="str" style="color: #008800;"&gt;"ReferenceError: require is not defined&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &amp;lt;anonymous&amp;gt;:2:9&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://static.jsbin.com/js/prod/runner-3.34.1.min.js:1:13603" rel="nofollow" target="_blank"&gt;https://static.jsbin.com/js/prod/runner-3.34.1.min.js:1:13603&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://static.jsbin.com/js/prod/runner-3.34.1.min.js:1:10524" rel="nofollow" target="_blank"&gt;https://static.jsbin.com/js/prod/runner-3.34.1.min.js:1:10524&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="margin-left: 20px;"&gt;&lt;SPAN class="str" style="color: #008800;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin-left: 20px;"&gt;&lt;SPAN class="str" style="color: #008800;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin-left: 20px;"&gt;&lt;SPAN class="str" style="color: #008800;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I searched on here for require is not defined and did not see anything similar.&lt;/P&gt;&lt;P&gt;What's causing this error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303472#M27860</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-07-30T14:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting require is not defined in my jsbin code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303473#M27861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this work ok for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wrong link... updating...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303473#M27861</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-07-30T14:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting require is not defined in my jsbin code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303474#M27862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does, but that's 3.8. Did you notice something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303474#M27862</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-07-30T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting require is not defined in my jsbin code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303475#M27863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated link!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsbin.com/dabamobuga/1/edit?html,console,output" title="http://jsbin.com/dabamobuga/1/edit?html,console,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a working project and inserted your code - no errors, at least.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 15:01:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303475#M27863</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-07-30T15:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting require is not defined in my jsbin code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303476#M27864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like jsbin doesn't like http links, so change script tag to https&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="_jivemacro_uid_14382689976452838 jive_macro_code jive_text_macro" data-renderedposition="29_8_912_16" jivemacro_uid="_14382689976452838"&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://js.arcgis.com/3.14" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.14&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 15:10:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303476#M27864</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2015-07-30T15:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting require is not defined in my jsbin code?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303477#M27865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice catch! You can also just set the URL back to http to avoid mixed content - that seems to work, too, which is why it's working in my sample - &lt;A href="https://community.esri.com/external-link.jspa?url=http://jsbin.com/dabamobuga/1/edit?html,console,output" title="https://community.esri.com/external-link.jspa?url=http://jsbin.com/dabamobuga/1/edit?html,console,output"&gt;https://community.esri.com/external-link.jspa?url=http://jsbin.com/dabamobuga/1/edit?html,console,output&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 15:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-am-i-getting-require-is-not-defined-in-my/m-p/303477#M27865</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-07-30T15:16:30Z</dc:date>
    </item>
  </channel>
</rss>

