# Having Trouble in Building React + Webpack Cesium Application

**URL:** <https://community.cesium.com/t/having-trouble-in-building-react-webpack-cesium-application/6348>\
**Category:** CesiumJS\
**Created:** [December 9, 2017, 6:46pm UTC](https://community.cesium.com/t/having-trouble-in-building-react-webpack-cesium-application/6348 "2017-12-09T18:46:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miaok](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@miaok](https://community.cesium.com/u/miaok)\
**Post date:** [December 9, 2017, 6:46pm UTC](https://community.cesium.com/t/having-trouble-in-building-react-webpack-cesium-application/6348/1 "2017-12-09T18:46:10Z")

</div>

I've put my question as well as the code in this issue.

[https://github.com/immiao/cesium-weather/issues/1](https://github.com/immiao/cesium-weather/issues/1)

Basically I'm trying to build up React + Webpack Cesium application but got a bug.

The error message is like this:

bundle.js:168429 Error constructing CesiumWidget.  
Visit \<a href="[http://get.webgl.org](http://get.webgl.org)"\>[http://get.webgl.org](http://get.webgl.org)\</a\> 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:  
Error: Cannot find module "."  
Error: Cannot find module "."  
&nbsp;&nbsp;&nbsp;&nbsp;at webpackMissingModule (bundle.js:29861)  
&nbsp;&nbsp;&nbsp;&nbsp;at buildModuleUrl (bundle.js:29861)  
&nbsp;&nbsp;&nbsp;&nbsp;at new Globe (bundle.js:168694)  
&nbsp;&nbsp;&nbsp;&nbsp;at new CesiumWidget (bundle.js:168075)  
&nbsp;&nbsp;&nbsp;&nbsp;at new Viewer (bundle.js:103299)  
&nbsp;&nbsp;&nbsp;&nbsp;at App.componentDidMount (bundle.js:102847)  
&nbsp;&nbsp;&nbsp;&nbsp;at commitLifeCycles (bundle.js:96015)  
&nbsp;&nbsp;&nbsp;&nbsp;at commitAllLifeCycles (bundle.js:97191)  
&nbsp;&nbsp;&nbsp;&nbsp;at HTMLUnknownElement.callCallback (bundle.js:87787)  
&nbsp;&nbsp;&nbsp;&nbsp;at Object.invokeGuardedCallbackDev (bundle.js:87826)

Could anyone help me figure it out?

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [December 12, 2017, 3:17pm UTC](https://community.cesium.com/t/having-trouble-in-building-react-webpack-cesium-application/6348/2 "2017-12-12T15:17:07Z")

</div>

Hi there,

We don’t officially support the cesium-weather repo, but I see you got the answer and the link to[the webpack setup tutorial](https://cesiumjs.org/tutorials/cesium-and-webpack/) there!

Thanks!  
Gabby
