As part of the React Native packager facebook uses watchman which in turn uses inotify. The default limits specified by ubuntu are low
ubuntu@box324:~$ cat /proc/sys/fs/inotify/max_user_watches
So they suggest running (from here: https://facebook.github.io/react-native/docs/troubleshooting.html#unable-to-start-react-native-package-manager-on-linux)
echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
The problem is I get
sysctl: permission denied on key ‘fs.inotify.max_user_watches’
When running that command on CircleCI. How can I set that parameter so my React build could work?