[GIS] jsbin require is not defined

arcgis-javascript-apijs-bin

Here is the simplest example of the web map using ArcGIS Javascript API in jsbin.
I'm getting a Reference error: "require is not defined".

Does anyone know why is this happening since require should have been exposed by the Dojo loader which is included in ArcGIS JavaScript API?

Best Answer

Your URL to jsbin uses https while the src attribute in your script tag uses http. Chrome is blocking the http requests. Either use https in your script tag or use jsbin over http. The the map works (but you need to update the URL to esri.css, more about esri.css).