mame icon indicating copy to clipboard operation
mame copied to clipboard

Error during emscripten build: html-minifier-terser was not found!

Open felipesanches opened this issue 2 months ago • 5 comments

I am trying to build a single driver with emscripten (on Debian 13):

sudo apt install npm llvm emscripten export EM_CONFIG=$HOME/.emscripten emmake make SUBTARGET=vet3000 SOURCES=src/mame/tms/vet3000.cpp REGENIE=1 WEBASSEMBLY=1

Image

felipesanches avatar Oct 19 '25 21:10 felipesanches

What emscripten version are you using? Version 3.1.35 is known to work.

algestam avatar Oct 21 '25 15:10 algestam

What is in your config? And you don't need WEBASSEMBLY=1 presumably. I wasn't able to make it work with any after 3.1.35

holub avatar Oct 21 '25 15:10 holub

What emscripten version are you using? Version 3.1.35 is known to work.

I'm running emscripten version 3.1.69

Image

felipesanches avatar Oct 21 '25 18:10 felipesanches

And you don't need WEBASSEMBLY=1 presumably. I wasn't able to make it work with any after 3.1.35

The issue is the same regardless of setting WEBASSEMBLY=1 or not.

Image

felipesanches avatar Oct 21 '25 18:10 felipesanches

Try with 3.1.35, that should work. I haven't got any later versions working.

algestam avatar Oct 21 '25 18:10 algestam