Got ENOSPC error

Bitrise Build Issue Report template

Description of the issue

Got:
“Error: watch /bitrise/src/node_modules/react-native-google-signin/android/build/intermediates/public_res/release/packageReleaseResources ENOSPC”

Environment:

Bitrise.io: Android & Docker, on Ubuntu 16.04 stack
also I use react-native 0.59.4 and react-native-google-signin 1.2.2

fastlane v2.3.12 step causees the issue

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : Cache not used
  • Does the issue happen sporadically, or every time? : every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Friday, 12th of April

Local reproduction

Can’t be reproduced locally on macOS 10.14.2 Building is successful

Build log

Hello there,

Could you try running this in a script step somewhere at the beginning of the build?

# Increase watchers
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl -p
echo "Increased watchers"
1 Like

It helped! I thought “sudo” isn’t available for me on bitrise. Thank you very much!

1 Like

You are welcome🙃

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.