Hello,
I am currently developing an electron application and after instantiating the cesium viewer, I receive the error in my console saying "Failed to load resource: net::ERR_INVALID_ARGUMENT " for Widgets/InfoBox/InfoBoxDescription.css. I am not sure what the issue could be, everything else works just fine. In chrome I do not receive this error, only in my electron app. I wonder if electron just doesnt like the css being injected into the iframe. Not sure if this info is useful but I am using webpack dev server currently. If anyone has had a similar issue, I would really appreciate any advice on how to resolve this.
Hey there @Mary_Musallam, curious if you ever found a solution to this? I’m hitting this exact snag right now. Thanks!
Hello, I am also encountering this issue and wondering if there is a solution for it. Thank you!
Just wondering if anyone found a solution to this?
Hi @wrichardson and @Mary_Musallam ,
Thanks for your posts and follow up and apologies you did not get a response from the team sooner on this question.
You mentioned using Webpack. I have encountered a similar error that was due to the webpack settings in my application with Cesium. I suggest you consult this demo for using Cesium with Webpack GitHub - CesiumGS/cesium-webpack-example: The minimal recommended setup for an application using Cesium with Webpack., and I believe if you make the changes it describes to the webpack.config.js in your project, it may resolve your issue.
Please let me know if this is not helpful and we are happy to try and continue to troubleshoot.
Thanks,
Luke
Hi @Luke_McKinstry! I believe Mary is using webpack, but I am not. We are just using Electron and CesiumJS and run into this problem as well.