joopdegroot

Results 7 comments of joopdegroot

The downloaded code contains an example that doesn't work in the web browser on the localhost of a Windows computer. You'll get these SharedArrayBuffer errors. Can someone tell if it...

> I use Chrome (But in FireFox it's the same problem.) I work in Windows.

That makes a difference, but I get new errors: [Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around July 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details. (anonymous) @ stockfish.js:39 Uncaught...

In server.js I find this comment: "Firefox needs these headers in order to handle shared array buffers for multi-threaded WASM." But the problem not only occurs in Firefox, but also...

OK, it seems you made progress! But what do you mean with "replacing stockfish.js and stockfish.wasm with the real files in src"?

O yes, I see. Yes, that's what I had done. I had already forgotten about it, as it was more than a month ago. Yes, I am working in Windows....

Also after copying the .nnue file from /src to /example (overwriting the existing symlink), I still get the SharedArrayBuffer error when I run (open) example on my localhost (XAMPP -...