htmltidy2
htmltidy2 copied to clipboard
Unnecessary Exception for ARM64 Linux
Thanks again for this tool. There is a small tweak that would help us in using it on Linux on an ARM64 environment. We are currently getting this error message: "Error: unsupported execution platform". I think it just needs an else if here:
function chooseExec() {
...
case 'linux':
if (process.arch == 'x64') {
tidyExe = path.join('linux64/', 'tidy');
} else {
throw new Error('unsupported execution platform');
}
break;
....
Any help on this would be appreciated. Thank you.
is linux64 binary works for ARM64 ?
I'm not sure, but you can install htmltidy2 on Linux using apt-get. Here's the uname result:
Linux devvm 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux
Any update on this issue? Facing the same issue unable to run it on M1 chip ARM64.