我部署了一个应用到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

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


要获取更多Jerry的原创文章,请关注公众号"汪子熙":


注销
1k 声望1.6k 粉丝

invalid