-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted #6
Comments
Since Cesium has branching ways to build paths to modules, when webpack compiles it will throw these warnings, however everything is still working as expected. Setting the following configurations will suppress the warnings:
|
Thank you @ggetz. Cesium w/ Webpack is in fact crashing on Ubuntu 17.10, but the graphics on 17.10 are really buggy for me while not using Cesium. It seems like it doesn't have anything to do with these warnings. I tried this on Windows and it's working fine. |
Make sure you check WebGL compatibility on your machine. I'll close this, feel free to reopen if it is indeed the webpack configuration causing the problem. |
@ggetz, proposed options for Webpack 4 module section introduce another big and ugly warnings for me:
|
Here is a related issue in Cesium repository. |
I was able to get it fixed. Please, review this PR. |
In my case. Using |
Hi I'm getting these errors when trying to run a fresh install.
Cesium loads for a second or two, then these errors pop up in the console, and Cesium exits.
The text was updated successfully, but these errors were encountered: