Skip to content
arobson edited this page Dec 13, 2012 · 1 revision

Sorry You're Here...

Anvil has a long way to go but sometimes there are things that just aren't supported yet or need to be correctly configured based on your machine and setup. Here's the known list of common issues:

## Installation Problems

OS X / Linux

If you have installed Node.JS via brew or some other package manager, then you won't have permissions to install node modules globally.

Nuke Node.JS and Install via NVM

Sounds crazy, but the best way to install and manage multiple node versions is NVM. It will prevent any obnoxious path permissions issues and allow you to easily install new versions and switch between them. If this seems like a non-solution, read on.

Grant Yourself Permissions

sudo chown -R {your user name} /usr/local/lib/node_modules/

After this, you should be able to install modules globally.

Windows

No currently known installation issues exist.

## CI Mode Problems

Issues with specific IDEs

OS X/Linux issues

Most POSIX systems have a relatively low limit on the number of file descriptors that can be open at any given time. To watch a file or directory on *NIX operating systems, a file descriptor is required for each file or directory. This can cause a system configured with a low limit to run out and crash the application requesting additional descriptors.

Verify Limit

At the command line, type:

ulimit

To see how many descriptors are available at a time.

Increase Limit Temporarily

If the number is under 1,000, enter the following command to increase the number of allowed descriptors for the length of the current shell session:

ulimit -n 10000

Increase Limit Permanently

If you're comfortable increasing the limit permanently so that you don't need to increase it every time you open a new command line, type the following in your shell:

launchctl limit maxfiles 10000
## Other stuff If you're having problems not addressed, please log an issue with the project.