DeveloperError:renderState.lineWidth is out of range. Check minimumAliasedLineWidth and maximumAliasedLineWidth

I have found that that ContextLimits error:

DeveloperError: renderState.lineWidth is out of range. Check minimumAliasedLineWidth and maximumAliasedLineWidth.

Is usually the “canary in the mines” and first error that pops up when you are loading 2 different versions of Cesium into the same page/build. CesiumJS works a little with global variables/classes and when 2 versions of cesium are built into 1 project they can refer to different objects (like Scene and Scene2)

Please make sure you are only using 1 version of CesiumJS. If I understand you correctly you are using CesiumJS directly in a project and using CesiumJS through another library that uses CesiumJS itself? I’m guessing this could potentially cause 2 versions to be bundled if they don’t match?

I believe the last time this came up was this thread: Cesium ion SDK: initialization crashes renderer in production build