grunt icon indicating copy to clipboard operation
grunt copied to clipboard

Can we add this fix to a trouble shooting tip?

Open joncodo opened this issue 10 years ago • 5 comments

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

joncodo avatar Sep 11 '14 13:09 joncodo

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

vladikoff avatar Jan 19 '16 21:01 vladikoff

Noted!

JKVeganAbroad avatar Feb 04 '16 08:02 JKVeganAbroad

Was this added to the docs?

shama avatar Feb 13 '16 21:02 shama

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!

JKVeganAbroad avatar Feb 13 '16 23:02 JKVeganAbroad

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

shama avatar Feb 14 '16 00:02 shama