Loading...
 
Skip to main content

Error: ENOSPC: System limit for number of file watchers reached while using npm run watch

Status
Open
Subject
Error: ENOSPC: System limit for number of file watchers reached while using npm run watch
Version
27.x
Category
  • Bug
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

While creating a themed Tiki27 it is the second time (I have 2 Tiki27 🤗) I hit this error while running "npm run watch".

Error: ENOSPC: System limit for number of file watchers reached

May be it is possible to address this on our System Builder ?

Solution

To fix I followed : https://stackoverflow.com/questions/55763428/react-native-error-enospc-system-limit-for-number-of-file-watchers-reached/70436159#70436159

And applied

Copy to clipboard
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8673
Created
Thursday 29 August, 2024 06:21:49 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 29 August, 2024 06:23:05 UTC


Show PHP error messages