[WASM] Unconsitent behaviour when running `npm run prepwasm`

When runnign the npm run prep under web, I got one warning saying:

warning: undefined symbol: main (referenced by top-level compiled C/C++ code)

which is inconsistent with the CI’s output.

And this finally results in a failure in booting the wasm runtime under node.

And idea s on how to fix it?