Vents.js:160 When I run this command `bench start`

When I run this command bench start

17:12:00 worker_default.1 | 17:12:00 *** Listening on default…
17:12:00 web.1 | * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
17:12:00 web.1 | * Restarting with inotify reloader
17:12:00 worker_short.1 | 17:12:00 RQ worker u’rq:worker:localhost.localdomain.12220.short’ started, version 0.8.0
17:12:00 worker_short.1 | 17:12:00 Cleaning registries for queue: short
17:12:00 worker_short.1 | 17:12:00
17:12:00 worker_short.1 | 17:12:00 *** Listening on short…
17:12:00 worker_long.1 | 17:12:00 RQ worker u’rq:worker:localhost.localdomain.12216.long’ started, version 0.8.0
17:12:00 worker_long.1 | 17:12:00 Cleaning registries for queue: long
17:12:00 worker_long.1 | 17:12:00
17:12:00 worker_long.1 | 17:12:00 *** Listening on long…
17:12:01 web.1 | * Debugger is active!
17:12:01 web.1 | * Debugger PIN: 234-115-870
17:12:01 watch.1 | compiling avatar.less
17:12:01 watch.1 | compiling calendar.less
17:12:01 watch.1 | compiling common.less
17:12:01 watch.1 | compiling desk.less
17:12:01 watch.1 | compiling desktop.less
17:12:01 watch.1 | compiling docs.less
17:12:01 watch.1 | compiling filter_dashboard.less
17:12:01 watch.1 | compiling form.less
17:12:01 watch.1 | compiling form_grid.less
17:12:01 watch.1 | compiling gantt.less
17:12:01 watch.1 | compiling indicator.less
17:12:01 watch.1 | compiling kanban.less
17:12:01 watch.1 | compiling list.less
17:12:01 watch.1 | compiling mixins.less
17:12:01 watch.1 | compiling mobile.less
17:12:01 watch.1 | compiling module.less
17:12:01 watch.1 | compiling navbar.less
17:12:01 watch.1 | compiling page.less
17:12:01 watch.1 | compiling report.less
17:12:01 watch.1 | compiling role_editor.less
17:12:01 watch.1 | compiling sidebar.less
17:12:01 watch.1 | compiling slickgrid.less
17:12:01 watch.1 | compiling tree.less
17:12:01 watch.1 | compiling website.less
17:12:01 watch.1 | compiling erpnext.less
17:12:01 watch.1 | compiling website.less
17:12:01 watch.1 | file watching on *: 6787
17:12:01 watch.1 | Less files compiled
17:12:01 watch.1 | Wrote css/frappe-web.css - 65.3 KB
17:12:02 watch.1 | Wrote js/frappe-web.min.js - 139.5 KB
17:12:02 watch.1 | Wrote js/dialog.min.js - 95.96 KB
17:12:02 watch.1 | Wrote css/desk.min.css - 282.64 KB
17:12:02 watch.1 | Wrote css/frappe-rtl.css - 32.6 KB
17:12:02 watch.1 | Wrote js/libs.min.js - 815.7 KB
17:12:04 watch.1 | Wrote js/desk.min.js - 388.42 KB
17:12:04 watch.1 | Wrote js/d3.min.js - 380.43 KB
17:12:04 watch.1 | Wrote css/module.min.css - 2.17 KB
17:12:04 watch.1 | Wrote css/form.min.css - 4.56 KB
17:12:05 watch.1 | Wrote js/form.min.js - 190.19 KB
17:12:05 watch.1 | Wrote css/list.min.css - 16.36 KB
17:12:05 watch.1 | Wrote js/list.min.js - 150.1 KB
17:12:05 watch.1 | Wrote css/report.min.css - 8.24 KB
17:12:05 watch.1 | Wrote js/report.min.js - 257.08 KB
17:12:05 watch.1 | Wrote js/web_form.min.js - 247.86 KB
17:12:05 watch.1 | Wrote css/web_form.css - 24.72 KB
17:12:05 watch.1 | Wrote js/print_format_v3.min.js - 23.67 KB
17:12:05 watch.1 | Wrote css/erpnext.css - 7.96 KB
17:12:06 watch.1 | Wrote js/erpnext-web.min.js - 3.94 KB
17:12:06 watch.1 | Wrote js/erpnext.min.js - 136.9 KB
17:12:06 watch.1 | Wrote js/item-dashboard.min.js - 7.96 KB
17:12:06 watch.1 | events.js:160
17:12:06 watch.1 | throw er; // Unhandled ‘error’ event
17:12:06 watch.1 | ^
17:12:06 watch.1 |
17:12:06 watch.1 | Error: watch /home/kanel/Documents/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/footer.js ENOSPC

means there is no space on the drive you have to check and free some space then restart.

regards

1 Like
[kanel@localhost frappe-bench]$ df -h
Filesystem           Size  Used Avail Use% Mounted on
/dev/mapper/cl-root   50G  6.7G   44G  14% /
devtmpfs             3.8G     0  3.8G   0% /dev
tmpfs                3.8G  152K  3.8G   1% /dev/shm
tmpfs                3.8G   26M  3.8G   1% /run
tmpfs                3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/sda1           1014M  286M  729M  29% /boot
/dev/mapper/cl-home  866G  2.5G  863G   1% /home
tmpfs                777M   24K  777M   1% /run/user/1000

Run the below command to avoid ENOSPC:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
For Arch Linux add this line to /etc/sysctl.d/99-sysctl.conf:

fs.inotify.max_user_watches=524288
Then execute:

sysctl --system
This will also persist across reboots.

2 Likes

check this post : Home · guard/listen Wiki · GitHub

regards