-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple download and run the example locally does not work( on Windows 10) #7
Comments
Interesting. Any idea how to sovle this @Huge? Unfortunately I've been unable to properly maintain this library. But definitely want to pick it up in the future! |
I have almost no idea why Daan Sprenkels' ( @dsprenkels ) demo/service at https://bakaoh.com/sss-wasm/ works, what could be the differentiating factor from running it locally with no backend. Anyway it would be useful to at least have a Readme in https://github.com/3box/sss-wasm/tree/master/example how to get it running some way, even with some Node backend or whatever needed. |
@Huge I personally do not maintain the sss-wasm demo. I do not remember who does. |
@Huge I find that you need to search and replace '.wasm' in wrapper.js, with the wasm file base64 string .Then it is not necessary to fetch the wasm file. |
I have clonned your repository hoping that I can run the https://github.com/3box/sss-wasm/tree/master/example offline from my system, the index opens, but the logic does not work.
Browser console shows loading errors like
Fetch API cannot load file:///C:/Users/myUser/Desktop/sss-wasm-master/example/wrapper.wasm. URL scheme must be "http" or "https" for CORS request.
Further there is this trace:There is a few more and the last is
Uncaught (in promise) abort("abort(\"on the web, we need the wasm binary to be preloaded and set on Module['wasmBinary']. emcc.py will do that for you when generating HTML (but not JS)\"). Build with -s ASSERTIONS=1 for more info."). Build with -s ASSERTIONS=1 for more info.
The text was updated successfully, but these errors were encountered: