节点应用程序登台在“安装应用程序管理"阶段失败 [英] Node app staging fails at Installing App Management stage

查看:41
本文介绍了节点应用程序登台在“安装应用程序管理"阶段失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试将新版本的应用程序推送到Bluemix,但是在安装应用程序管理"中,暂存始终失败,因为由于超出了磁盘配额,它无法创建常规文件和目录. /p>

我已经尝试用"-k 2G"推送它,但是它仍然失败.

是否有任何方法可以找出如何或为什么继续超出磁盘配额?我几乎无法使用2GB的磁盘空间.

解决方案

在这里切换到npm v3是一个潜在的解决方案,因为它可以减少重复的依赖项的数量.

您可以在package.json中执行此操作,例如:

"engines": { "npm": "3.x" } 

I've been trying to push a new build of an app to Bluemix, but staging keeps failing when it's at "Installing App Management" because it can't create regular files and directories due to the disk quota being exceeded.

I've already tried pushing it with "-k 2G", but it it still fails.

Is there any way to find out how or why the disk quota keeps being exceeded? There's no way I'm near using 2GB of disk space.

解决方案

Switching to npm v3 is a potentinal solution here as it reduces the number of duplicated dependencies.

You can do that in your package.json, for example:

"engines": { "npm": "3.x" } 

这篇关于节点应用程序登台在“安装应用程序管理"阶段失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆