D
D
darofonom2017-06-03 01:00:11
Node.js
darofonom, 2017-06-03 01:00:11

Why Node does not allow the application to start, ENOSPC error?

ENOSPC - I think this is a lack of free disk space.
There is enough free space, but the application has stopped running (it used to work). Restarting the computer helps, but I can't restart it every half hour!
How to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2017-06-03
@darofonom

maybe /tmp is full?
https://stackoverflow.com/questions/22475849/node-...

N
Nikita Gennadich, 2020-09-30
@Psychosynthesis

In case anyone is looking for a solution to a similar problem.
npm refused to run (after installing create-react-app) with an error:

Error: ENOSPC: System limit for number of file watchers reached, watch '/home/user/reai-comp/public'

Clearing the cache didn't help. For some, a reboot helps, but not in my case.
Only one command solved the problem:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question