Arcgis js 3.9 was successfully deployed offline, but the page map never appeared

arcgis js 3.9 was successfully deployed offline, but the browser console reported an error, and the page map screen never appeared. Please give us a lot of guidance. Thank you. Thank you by handing out red envelopes.
Code section--
< link rel= "stylesheet" type= "text/css"

href="http://localhost:8080/arcgis_js_api/library/3.9/3.9/js/dojo/dijit/themes/tundra/tundra.css"/>
<link rel="stylesheet"  type="text/css"
href="http://localhost:8080/arcgis_js_api/library/3.9/3.9/js/esri/css/esri.css">
<script type="text/javascript" src="http://localhost:8080/arcgis_js_api/library/3.9/3.9/init.js"></script>
<script>
    var map;
    require(["esri/map",
             "esri/views/MapView",
             "dojo/domReady!"
        ], function (Map,MapView) {
        map = new Map({
            basemap: "topo",
        });

        var view = new MapView({
            container: "mapDiv",
            map: map,
            zoom: 10,
            center: [117.196646,31.827314] 
        });
    });
</script>
<div id="mapDiv"
    style="width: 1400px; height: 900px; border: 1px solid red;"></div>
< hr >

Screenshot of successful deployment verification

1

2

1

2


Dec.18,2021

Brother, you quote the js package of 3.x to write code that is indeed 4.x. If he can come out, he will have a ghost. 4.x will have mapview.

Menu