Error in /etc/app-types/node/start.sh


#1

I loaded botmaster from github. When running it, it gives me this error: /etc/app-types/node/start.sh: line 27: null: command not found

I’m assuming that there’s a problem with package.json but I’m not sure how to debug it.
Help?
FWIW here’s the package.json
{
“name”: “botmaster”,
“version”: “3.0.8”,
“description”: “Framework allowing developers to write bots that are agnostic with respect to the channel used by their users (messenger, telegram etc…)”,
“main”: “./lib/index.js”,
“scripts”: {
“test”: “export NODE_ENV=test; nyc --reporter=lcov --reporter=html ava; nyc report”,
“test-debug”: “export NODE_ENV=test DEBUG=botmaster:; nyc --reporter=lcov --reporter=html ava",
“coveralls”: “cat ./coverage/lcov.info | coveralls”,
“postversion”: “git push && git push --tags”,
“report”: “nyc report”,
“botmaster-docs”: “jsdoc2md lib/botmaster.js > api-reference/botmaster.md”,
“base-bot-docs”: “jsdoc2md lib/base_bot.js > api-reference/base-bot.md”,
“outgoing-message-docs”: “jsdoc2md lib/outgoing_message.js > api-reference/outgoing-message.md”,
“docs”: “mkdir -p api-reference; yarn botmaster-docs; yarn base-bot-docs; yarn outgoing-message-docs”,
“docs-deploy”: “yarn docs && cp -r api-reference …/botmasterai.github.io/docs”
},
“ava”: {
“files”: [
"tests/**/
.js”,
"!**/index.js"
],
“source”: [],
“match”: [],
“serial”: true,
“verbose”: true,
“failFast”: true,
“tap”: false,
“powerAssert”: false
},
“nyc”: {
“check-coverage”: true,
“lines”: 100,
“statements”: 100,
“functions”: 100,
“branches”: 100,
“exclude”: [
“tests”
]
},
“repository”: {
“type”: “git”,
“url”: “https://github.com/jdwuarin/botmaster
},
“bugs”: {
“url”: “https://github.com/jdwuarin/botmaster/issues
},
“keywords”: [
“bot”,
“framework”,
“toolkit”,
“botmaster”,
“slack”,
“messenger”,
“telegram”,
“twitter”,
“bot-library”
],
“dependencies”: {
“debug”: “^2.6.1”,
“lodash”: “^4.17.4”
},
“engines”: {
“node”: “>=4.x.x <9.0.0”
},
“devDependencies”: {
“ava”: “^0.18.2”,
“body-parser”: “^1.17.1”,
“botmaster-test-fixtures”: “^2.1.0”,
“coveralls”: “^2.11.16”,
“eslint”: “^3.17.0”,
“eslint-config-airbnb”: “^14.1.0”,
“eslint-plugin-ava”: “^4.2.0”,
“eslint-plugin-import”: “^2.2.0”,
“eslint-plugin-jsx-a11y”: “^4.0.0”,
“eslint-plugin-react”: “^6.10.0”,
“express”: “^4.15.2”,
“jsdoc-to-markdown”: “^3.0.0”,
“koa”: “^2.0.1”,
“nyc”: “^10.1.2”,
“request-promise”: “^4.1.1”
},
“author”: “JD Wuarin jwuarin@uk.ibm.com”,
“license”: “MIT”
}


#2

Node.js projects on Glitch that need a server require a package.json file with a start command in the scripts field to run. So be sure to include "scripts": { "start": "node XXX" } in your package.json, where XXX is the path to your starter js file or sh command. It looks like it might be ./lib/index.js?