ENOENT issue on Ubuntu
gavinballard opened this issue · 1 comments
gavinballard commented
Really an issue with htmltidy
, but leaving here to track and in case anyone else runs in to this issue.
See:
lucidnz/bootstrapify-1#217
and
https://github.com/vavere/htmltidy/issues/11
gavinballard commented
I've tracked down this issue - it's due to htmltidy
bundling 32-bit versions of the tidy
library, which causes problems when running on 64-bit architecture.
Two possible solutions if you have a 64-bit system and you're running in to this problem:
- Enable support for running 32-bit binaries on your system by executing the following (recommended, easiest way to do this):
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
- Replace the binaries bundled with
htmltidy
with your system'stidy
binary. This method doesn't require you to install anything, but it is a little more fiddly. First runwhich tidy
to find out the path to your installation of thetidy
library. It should be something like/usr/sbin/tidy
. Then, from your project directory:
rm ./node_modeules/grunt-shopify-theme-settings/node_modules/htmltidy/bin/linux/tidy
ln -s /usr/bin/tidy ./node_modeules/grunt-shopify-theme-settings/node_modules/htmltidy/bin/linux/tidy