gruntjs / grunt

Grunt: The JavaScript Task Runner
http://gruntjs.com/
Other
12.26k stars 1.5k forks source link

Can we add this fix to a trouble shooting tip? #1216

Open joncodo opened 10 years ago

joncodo commented 10 years ago

for this error:

Fatal error: spawn EMFILE
Running "watch" task
Waiting...OK
>> File "app/templates/views/deals/deals.html" changed.
------------------------------------------------------------------------

error: Looks like a Grunt error occurred--
error: Please fix it, then **restart Sails** to continue running tasks (e.g. watching for changes in assets)
error: Or if you're stuck, check out the troubleshooting tips below.

error: Troubleshooting tips:
error: 
error:  *-> Are "grunt" and related grunt task modules installed locally?  Run `npm install` if you're not sure.
error: 
error:  *-> You might have a malformed LESS, SASS, CoffeeScript file, etc.
error: 
error:  *-> Or maybe you don't have permissions to access the `.tmp` directory?
error:      e.g., `/Users/jonathanodonnell/Off/.tmp` ?
error: 
error:      If you think this might be the case, try running:
error:      sudo chown -R 501 /Users/jonathanodonnell/Off/.tmp

Can we also put the suggestion to run the command:

ulimit -n 1000

vladikoff commented 8 years ago

@JKAussieSkater for docs: add a note about ulimit...

JKVeganAbroad commented 8 years ago

Noted!

shama commented 8 years ago

Was this added to the docs?

JKVeganAbroad commented 8 years ago

I was going to, but I also thought about pushing a note into the grunt error message as well.

There's heaps of backlog on the docs, but I'm pumping through it!

shama commented 8 years ago

@JKAussieSkater No worries! Just checking if this issue could be closed. I very much appreciate all the work you're doing!