Skip to content

Comments

fix: Update enginegame.js to use the correct path for stockfish.js in the worker initialization.#116

Open
Elizura wants to merge 1 commit intonmrugg:masterfrom
Elizura:elitzur-fix
Open

fix: Update enginegame.js to use the correct path for stockfish.js in the worker initialization.#116
Elizura wants to merge 1 commit intonmrugg:masterfrom
Elizura:elitzur-fix

Conversation

@Elizura
Copy link

@Elizura Elizura commented Feb 20, 2026

Fix: Correct fallback Stockfish engine path

The example hangs indefinitely while loading the engine because the fallback path is incorrect.

It currently points to:

src/stockfish.js

However, stockfish.js actually lives at:

node_modules/stockfish/bin/stockfish.js

Updating the path fixed the issue for me, and the example ran as expected.

I’ve also seen other issues reporting a similar loading problem (linked below), which this may resolve.

#105
#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant