Node RED dashboard: Stage Failed when Deploying
jonathanrjpereira opened this issue · 5 comments
I edited the package.json
file and included the following line: "node-red-dashboard": "2.x",
as shown in Step 6 of the Create a Node-RED starter application tutorial.
{
"name": "node-red-app",
"version": "1.1.1",
"dependencies": {
"node-red-dashboard": "2.x",
"@cloudant/cloudant": "^4.2.2",
"bcrypt": "^3.0.7",
"body-parser": "1.x",
"cfenv": "^1.2.2",
"express": "4.x",
"http-shutdown": "1.2.2",
"node-red": "1.x",
"node-red-node-cf-cloudant": "0.x",
"node-red-node-openwhisk": "0.x",
"node-red-node-watson": "0.x",
"node-red-nodes-cf-sqldb-dashdb": "0.x"
},
"scripts": {
"start": "node --max-old-space-size=160 index.js --settings ./bluemix-settings.js -v"
},
"engines": {
"node": "12.x"
}
}
The error looks something like this:
Is this caused due to inadequate memory allocation during the Continuous Delivery configuration?
If so, How do I go back to the Continous Delivery Configuration and change the Memory Allocation per Instance?
The error means you have more memory allocated to your apps then your account type allows.
If you have a lite account you are limited to 256mb of memory in total for all of your apps.
Is there a way to fix this whilst using a Lite account?
A lite account can only have 256Mb of memory allocated to running applications. If you want to deploy another app, you'll need to stop one of your existing apps first.
The alternative is to upgrade to a standard account. But that doesn't get you more free resources - you will incur a cost to run more then 256mb of apps.