Pre loader

Module not found: Error: Can't resolve 'a'

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


We are having the first experiences with SCIchart. Could someone help with this problem we are experiencing?

[ encore ] ERROR Failed to compile with 1 errors14:42:33 [ encore ]
Module build failed: Module not found: [ encore ]
“./node_modules/scichart/_wasm/scichart2d.wasm” contains a reference
to the file “a”. This file can not be found, please check it for typos
or update it if the file got moved. [ encore ] ERROR in
10:27 Module parse failed: Unexpected token (10:27) File was processed
with these loaders: *
./node_modules/unplugin/dist/webpack/loaders/transform.js *
./node_modules/unplugin/dist/webpack/loaders/transform.js *
./node_modules/vue-loader/dist/templateLoader.js *
./node_modules/vue-loader/dist/index.js You may need an additional
loader to handle the result of these loaders. | }, null, -1 /* HOISTED
*/)) |

export function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) { | return (_openBlock(),
_createElementBlock(“div”, _hoisted_1, [ | _createElementVNode(“h1”, null, _toDisplayString(_ctx.msg), 1 /* TEXT */),

ERROR in ./node_modules/scichart/_wasm/scichart2d.wasm Module not
found: Error: Can’t resolve ‘a’ in

ERROR in ./node_modules/scichart/_wasm/scichart3d.wasm Module not
found: Error: Can’t resolve ‘a’ in

webpack compiled with 3 errors


Hello Marcelo,

We tried running the example that you shared.
I’ve discovered that couple of the errors are caused by the WebPack trying to parse the WebAssembly modules (.wasm) since the extension is included in the ‘webpackConfig.resolve.extensions’. (‘.wasm’ is the first element of the list in this case)
So, I was able to fix these two issues by modifying this list with a small workaround:

// webpack.config.js:214
// remove '.wasm' from the extensions list to prevent wasm files from being parsed by webpack

However, there is another compilation issue that is not related to SciChart and occurs even if the lib is excluded from the project.

I hope you will find this helpful.
Also, if you will face more issues with it I would suggest checking our documentation related to loading the library dependencies

and our browser bundle tutorial (loading scichart.js without npm)

They describe how to load the dependencies from CDN. This may be help debugging the issues related to modules loading.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.