Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOENT issue on Ubuntu #17

Closed
gavinballard opened this issue Nov 5, 2014 · 1 comment
Closed

ENOENT issue on Ubuntu #17

gavinballard opened this issue Nov 5, 2014 · 1 comment

Comments

@gavinballard
Copy link
Member

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
Copy link
Member Author

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:

  1. 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
  1. Replace the binaries bundled with htmltidy with your system's tidy binary. This method doesn't require you to install anything, but it is a little more fiddly. First run which tidy to find out the path to your installation of the tidy 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant