Globe does not appear

1. A concise explanation of the problem you're experiencing.

Upon running the application the globe does not appear. I have tried editing the code below and I still just get a black screen.

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

<div id="cesiumContainer"></div>


            var viewer = new Cesium.Viewer('cesiumContainer', {
                imageryProvider: Cesium.createTileMapServiceImageryProvider({
                    url: Cesium.buildModuleUrl('Cesium/Assets/Textures/NaturalEarthII')
                baseLayerPicker: false,
            viewer.dropError.addEventListener(function (viewerArg, source, error) {
                window.alert('Error processing ' + source + ':' + error);


4. The Cesium version you're using, your operating system and browser.

I am using the most up to date google chrome browser.

If you’re getting a completely black screen (not even a blue globe) then you might not have CesiumJS setup correctly. Have you checked the browser console to see if there are any errors?

This setup guide here might be helpful: