【发布时间】:2015-11-12 22:01:09
【问题描述】:
部署简单的 node.js 应用程序时出错(在本地运行):
ERR mv: cannot move ‘/tmp/node-v0.10.40-linux-x64/bin’ to ‘/tmp/staged/app/vendor/node/bin’: Directory not empty
ERR mv: cannot move ‘/tmp/node-v0.10.40-linux-x64/include’ to ‘/tmp/staged/app/vendor/node/include’: Directory not empty
ERR mv: cannot move ‘/tmp/node-v0.10.40-linux-x64/licenses’ to ‘/tmp/staged/app/vendor/node/licenses’: Directory not empty
ERR mv: cannot move ‘/tmp/node-v0.10.40-linux-x64/share’ to ‘/tmp/staged/app/vendor/node/share’: Directory not empty
OUT -----> Build failed
OUT Your build failed!
OUT If you're stuck, please submit a ticket so we can help:
OUT http://ibm.biz/bluemixsupport
OUT Staging failed: Buildpack compilation step failed
ERR encountered error: App staging failed in the buildpack compile phase
默认节点 buildpack 和节点 sdk >cf push -b sdk-for-nodejs_v2_5-20150902-1526 都会失败。
cf 尾日志只包含相同的 mv 错误。
有什么提示吗?
【问题讨论】:
-
您能否在问题中添加您的 package.json 和 manifest.ylm?
标签: node.js ibm-cloud buildpack