我本地开发了一个nodejs应用,用cf push部署到CloudFoundry时报错:
t looks like you’re deploying on a stack (currently set to cflinuxfs3) that’s not supported by this build ack. That could be because you’re using a recent buildpack release on a deprecated stack If you’re using the buildpack installed by your CF admin, please let your admin know you saw this error messge If you at one point specified a buildpack that’s at git URL, please make sure you’re pointed at a version thit supports this stack Failed to compile droplet: Failed to compile droplet: exit status 44
检查我本地文件夹的Manifest.yml:
原因是我不应该使用第七行和第八行的两种方式显式指定nodejs buildpack的版本。根据SAP Cloud Platform的官方文档,Manifest.yml里不需要显式指定,cf push时,SAP Cloud Platform会自动安装:
注释掉build pack后问题解决: