SAP云平台上部署应用时遇到disk quota不够的问题

我部署了一个应用到SAP云平台后,在控制台上看到这个应用的状态为CRASHED.

在Events区域看到这些日志:

tar: Jdeps/bin/yarnpkg.cmd: Cannot creatsymlink to.yarnlyarn-
v1.19.1/bin/yarmpkg.cmd: Disk quotaexceeded

tar: Ideps/bin/yarmpkg: Cannot createsymlink to..yarn/yarn-v1.19.1/bin/yarnpkgDisk quota exceeded
tar: Ideps/bin/yarn.js: Cannot createsymlink to..yarn/yarn-v1.19.1/bin/yarn.js:Disk quota . xceeded
tar: Jdeps/0/binyarn.cmd: Cannot createsymlink to ...yan/yarn-v1.19.1/bin/yarn.cmd:Disk quota exceeded
tar: /depsi/bin/yarn: Cannot create symlinko.yarn/yarn-v1.19.1/binlyarn': Disk quotaexceede
tar: Jdeps/0/bin/npx: Cannot create symlinkto./noderbin/mpx': Disk quota exceededar: /deps/0/bin/npm: Cannot create symlinl

npm Disk quota exceededtar: Jdeps/bin/node: Cannot create symlinkto/mode/bin/node: Disk quota exceededtar: Jdeps/0/node/bin/npx: Cannot createsymtinik to unodemoautespmbln/ipyclijs: Disk quota exceede

tar: /deps/O/node/bin/npm: Cannot createSymlink tol
ibhode modules/npm/bin/npm-cli.js: Disk quota exceeded
ar: Exiting with failure status due to previous errors
reason: CRASHED

错误消息的核心 node_modules/npm/bin/npm-cli.js: Disk quota exceeded

SAP云平台上部署应用时遇到disk quota不够的问题

在mta.yaml文件里将disk-quota的值从默认的256M改成1024M即可解决问题。

SAP云平台上部署应用时遇到disk quota不够的问题
SAP云平台上部署应用时遇到disk quota不够的问题

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

上一篇:Windows数据类型探幽——千回百转你是谁?(2)


下一篇:报道称俄罗斯利用Facebook在美国组织政治*活动