stockfish.js
stockfish.js copied to clipboard
Stockfish v12 .then never running
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