3ur3ka / web2js

web2js update
Other
0 stars 1 forks source link

Fatal: Module::getFunctionType: (null Name) does not exist #2

Open rod2ik opened 2 years ago

rod2ik commented 2 years ago

Hi,

Thanks for this awesome work,

On make core.dump, I'm having this error :

tie -c bigmem-changes.ch texk/tex.web changes.ch bigmem.ch
This is TIE, CWEB Version 2.4 (TeX Live 2022/Arch Linux)
Copyright (c) 1989,1992 by THD/ITI. All rights reserved.
(texk/tex.web)
(changes.ch)
(bigmem.ch)
....500....1000....1500....2000....2500....3000....3500....4000....4500....5000....5500....6000....6500....7000....7500....8000....8500....9000....9500....10000....10500....11000....11500....12000....12500....13000....13500....14000....14500....15000....15500....16000....16500....17000....17500....18000....18500....19000....19500....20000....20500....21000....21500....22000....22500....23000....23500....24000....24500....25000
(No errors were found.)
tangle -underline tex.web bigmem-changes.ch
This is TANGLE, Version 4.6 (TeX Live 2022/Arch Linux)
*1*17*25*38*54*72*99*110*115*133*162*173*199*203*207*211*220*256*268*289*297*300*321*332*366*402*464*487*511*539*583*592*644*680*699*719*768*813*862*891*900*919*942*967*980*1029*1055*1136*1208*1299*1330*1338*1340*1379*1380
[tex.txt](https://github.com/3ur3ka/web2js/files/9482998/tex.txt)

Writing the output file.....500.....1000.....1500.....2000.....2500.....3000.....3500.....4000.....4500.....5000.....5500.....6000....
Done.
1045 strings written to string pool file.
(No errors were found.)
node compile.js tex.p tex.wasm
Fatal: Module::getFunctionType: (null Name) does not exist
make: *** [Makefile:29 : tex.wasm] Erreur 1

My tex.p file contains the following (tex.p was renamed tex.txt, because the extension .p is not accepted on github)

tex.txt

Remarks :

Questions : 1°) Would you PLEASE have any idea to help me solve this error ? 2°) Could you PLEASE be of any help anyhow ?

Thanks a lot,

rod2ik commented 2 years ago

The error seems to be emitted on line 165 of file compile.js Hence, I don't have any render of the tex-async.wasm file, which then breaks anything else. You can have a look to the state of the art file renderings (before cleanup) at my fork of your repo

yosefebrahimi7 commented 1 year ago

I also have this error. I think I don't have wasm-opt. And I don't even know how to create it.

If possible, guide me on what to do. Thank you

3ur3ka commented 1 year ago

Hi, I'm sorry I've been away from computers due to some personal issues. I can check this out as soon as I can, I'm away for a few days though...