stockfish.js icon indicating copy to clipboard operation
stockfish.js copied to clipboard

Stockfish v12 .then never running

Open Steve-Mc opened this issue 4 years ago • 0 comments

Using the newest version of stockfish the .then never runs.

code:

Stockfish = require('stockfish')(console, require('path').join(__dirname, './node_modules/stockfish/src/stockfish.wasm'))

Stockfish.then((sf) => {
    engine = sf

    start()
})

The output shown is :

Stockfish 12 64 POPCNT WASM MultiThreaded by the Stockfish developers (see AUTHORS file) and Chess.com
Killed

Node version 16.5.0

Steve-Mc avatar Jul 22 '21 16:07 Steve-Mc