Unable to determinecesium base url in React js

Error constructing CesiumWidget.
Visit http://get.webgl.org to verify that your web browser and hardware support WebGL. Consider trying a different web browser or updating your video drivers. Detailed error information is below:
DeveloperError: Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL.
at new DeveloperError (DeveloperError.js:39:1)
at getCesiumBaseUrl (buildModuleUrl.js:64:1)
at buildModuleUrlFromBaseUrl (buildModuleUrl.js:84:1)
at buildModuleUrl (buildModuleUrl.js:122:1)
at getDefaultCredit (CreditDisplay.js:565:1)
at Function.get (CreditDisplay.js:599:1)
at new CreditDisplay (CreditDisplay.js:347:1)
at new Scene (Scene.js:197:1)
at new CesiumWidget (CesiumWidget.js:264:1)
at new Viewer (Viewer.js:478:1)

Please give me suggestion how to fix this

Declare window.CESIUM_BASE_URL. Check out offical website webpack guidence to learn more.

Uploading: Screenshot (17).png…
kindly give me some reference to do this cockpits

Hi Gu-Miao,
kindly give me some refence how to create like this cockpits by cesium js ,kindly help me to do this

I think you should learn about CZML firstly.
wiki: Home · AnalyticalGraphicsInc/czml-writer Wiki · GitHub
doc: CzmlDataSource - Cesium Documentation
demo: Cesium Sandcastle

Hi Gu-Miao,
I have succesfully created 3d flight visulisation but i am unable to create cockpits like airspeedmeter,compass,vertical speedmeter and altitude meter .please check screenshot

please suggest me how to create like this by ui and pass data according flight data to rotate