SWI-Prolog/npm-swipl-wasm

[wasm]: TypeError: getWasmTableEntry(...) is not a function

Closed this issue · 2 comments

This error occured when swipl-wasm was updating to swipl@9.3.6. The full error log can be seen at https://github.com/SWI-Prolog/npm-swipl-wasm/actions/runs/9087848997/job/24990215214?pr=611.

@JanWielemaker any idea what could have caused this?

The log is long. If this refers to the failing test

 [21/23] trie:gen_compiled2_free ../swipl-devel/build.wasm/src/swipl.js:1

This isssue is resolved with SWI-Prolog/swipl-devel@af3ec2d. This test was added to 9.3.6 after fixing several trie issues due to the recent data representation changes. Unfortunately one remained that was specific to 32 bit systems.

Probably the simplest is to wait for 9.3.7 for the new npm release.

I bumped to a commit after SWI-Prolog/swipl-devel@af3ec2d and things are now working (#611).