Gcloud没有空格错误后编辑提示



我正在编辑我的bash提示符,我必须做一个备份,所以我运行:

cp ~/.bashrc ~/.bashrc.bak

第二天我试着下载一个npm包,它吐出了:

npm ERR! code ENOSPC
npm ERR! syscall write
npm ERR! errno -28
npm ERR! nospc ENOSPC: no space left on device, write
npm ERR! nospc There appears to be insufficient space on your system to finish.
npm ERR! nospc Clear up some disk space and try again.

然而,我没有安装任何东西,所以我恢复并删除了我的备份.bashrc.bak然后再运行一遍,它吐出了同样的东西,只是它重复了12次。

请帮

Cloud shell不是为创建大型开发而设计的,因为这个短暂的VM只有5GB的持久磁盘。

作为一种解决方案,您可以重置Cloud shell以清除所有不必要的数据,并从头开始使用空磁盘

或者您可以使用Compute Engine Always free的F1-micro实例,这些实例包括30 gb -month的HDD

最新更新