Fixing the No space left on device error
Written by
Updated at December 17, 2025
Issue description
When trying to create a function, you get this error:
zip I/O error: No space left on device
zip error: Output file write failure (write error on zip file)
Solution
This error means that you do not have enough free space, since the deployed packages exceed the Cloud Functions limits.
If you need most recent package versions but your function has run out of space for them, you can use a virtual machine to deploy your application.