我正在尝试将Node.js应用程序部署到Bluemix。在日志中,应用程序下载所有节点模块,编译并开始构建。然后它出错并显示错误: FAILED:重启应用程序时出错:StagingError 。没有其他信息。我试图设置CF_Trace = true
。当我使用cf logs <appname> --recent
检查日志时,我得到以下跟踪:
[STG/0] OUT [19:47:20] Finished 'bower' after 10 s
[STG/0] OUT [19:47:20] Starting 'fonts'...
[STG/0] OUT [19:47:20] fonts all files 2.03 MB
[STG/0] OUT [19:47:20] Finished 'fonts' after 68 ms
[STG/0] OUT [19:47:20] Starting 'compile'...
[STG/0] OUT [19:47:20] Finished 'compile' after 33 μs
[STG/0] OUT [19:47:20] Starting 'build'...
[STG/0] ERR
[API/0] ERR encountered error: Staging error: failed to stage application:
ERR Script exited with status 255
有人在将node.js应用程序部署到Bluemix之前遇到此错误吗?