Skip to content

Build failure: No such file "stockfish.js/src/stockfish.worker.js" #102

@erjoalgo

Description

@erjoalgo

Where can I find this file?

I see it referenced in buid.js

...
    var stockfishWASMPath = p.join(srcPath, "stockfish.wasm");
    var stockfishWASMLoaderPath = p.join(srcPath, "stockfish.js");
    var stockfishWorkerThreadPath = p.join(srcPath, "stockfish.worker.js");
    
...

These are the stockfish* files I see in the src/ directory:

stockfish-16.1-asm.js
stockfish-16.1.js
stockfish-16.1-lite.js
stockfish-16.1-lite-single.js
stockfish-16.1-lite-single.wasm
stockfish-16.1-lite.wasm
stockfish-16.1-single.js
stockfish-16.1-single.wasm
stockfish-16.1.wasm
stockfish.js
stockfish.wasm

I tried symlinking stockfish.worker.js to one of the worker thread options listed in the README, and the build appears to have compiled successfully. If this is correct, it may be helpful to include this step explicitly in the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions