Skip to content

Instantly share code, notes, and snippets.

View tigawanna's full-sized avatar

Dennis kinuthia tigawanna

  • Nairobi Kenya
View GitHub Profile
@tigawanna
tigawanna / increase_file_watchers.md
Last active October 7, 2025 16:25
Error: ENOSPC: System limit for number of file watchers reached

Fix ENOSPC Error: Increase System File Watcher Limit

Problem

The ENOSPC error occurs when the system reaches its limit for file watchers, which is common in Expo and React Native projects that monitor many files.

Solution Steps

1. Check Current File Watcher Limit

cat /proc/sys/user/max_inotify_watches

Large Header Style Animation on Android

Code

import { Text, View } from "react-native";
import Animated, {
  Extrapolation,
  interpolate,
  useAnimatedScrollHandler,
  useAnimatedStyle,
  useSharedValue,