To understand the root cause of the error, firstly check if the expected files are loaded properly: no 404 errors and the appropriate contents of .data and .wasm files are fetched.
Then, to match your location structure use SciChartSurface.configure (or SciChart3DSurface.configure) method to customize URLs for those files.
Refer to the docs for more info.