Hugeinc Styleguide Save

A tool to make creating and maintaining style guides easy.

Project README

Styleguide Build Status

A tool to make creating and maintaining styleguides easy.


For downloads, how to get started and detailed documentation please refer to the Styleguide Website

Thanks to

Known issues

1 - You should allow unregistered applications to run in order to use the file. You can do so in Settings > Security & Privacy

2 - The compiled offline version have a smaller issue on Chrome. Chrome have a security policy of not allowing communication with iframes under file:// protocol, so any interaction that needs such communication will be removed (basically the sidebar menu). This is only for the offline compiled version.

3 - If you are a Mac user and after running the you have this error:

npm ERR! Please try running this command again as root/Administrator.

You have probably installed Node with sudo or root permission. You will need to fix permissions to the .npm folder with the following command:

sudo chown -R $(whoami) ~/.npm
sudo chown -R $(whoami) /usr/local/lib/node_modules

After that, try running the again.

4 - If you have XCode installed but have not agreed with the License you will get this error:

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Open XCode and accept the license, then try running again.

5 - If you get a 404 - No data received error, you might have a port conflict, there are two ways you can change the port number (default to 9241):

  • Change the PORT variable inside styleguide/structure/_node-files/watch.js

  • Set an environment variable (PORT or STYLEGUIDE_PORT):

    If you are running the Styleguide manually, in the last step you might do:

    PORT=7000 node watch.js


    STYLEGUIDE_PORT=7000 node watch.js

    The is self contained, and for security reasons it does not have access to external variables. If you want to change the port for the it is recommended to change the watch.js file. You can, if you want, add a variable to your .bashrc file and it will be available for the

    touch ~/.bashrc
    echo 'export PORT=1234' >> ~/.bashrc


    echo 'export STYLEGUIDE_PORT=1234' >> ~/.bashrc
Open Source Agenda is not affiliated with "Hugeinc Styleguide" Project. README Source: hugeinc/styleguide
Open Issues
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating