Pre loader

Got error when running SciChart v3.0.266 with next.js

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

I recently upgraded SciChart from version 2 to version 3.0.266. It was working fine. But I got error (please refer to the attached screenshot) when I try to run my application today. It’s so strange as it worked fine yesterday and I didn’t make any codes change today.

Version
3.0.226
Images
  • You must to post comments
1
0

Hi Quyen

This error usually occurs if

1/ you are not deploying wasm (webassembly) files

2/ you are deploying webassembly files but there is a version mismatch between the SciChart.js library and webassembly file.

Question: How are you deploying wasm in your app?

Are you using SciChartSurface.useWasmFromCDN()? Or have you packaged the wasm/data files with your application and served them?

For context, see our documentation page on Deploying Wasm (WebAssembly) and Data Files with your app which talks about the different options.

Best regards
Andrew

  • Andrew Burnett-Thompson
    Edit: It can also occur if Wasm files are being blocked by the browser. I’ve seen this in Brave browser for example.
  • You must to post comments
1
0

Hi Andrew, it’s so strange that I can’t see this error anymore now. I will let you know if I see the error again and can’t solve it. Thanks!

  • Andrew Burnett-Thompson
    Possibly a caching issue after upgrade? That shouldn’t happen but to rule it out, if you see this problem again, clear cache in chrome browser and report if the problem goes away. Do keep us updated!
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies