Start.sh error running bot instead node index.js

/opt/watcher/app-types/node/start.sh: line 49: null: command not found

I Added
start: “node index.js”
in Package.json
Still getting Same Error Plese fix

You had multiple scripts fields defined in your package.json, so it was getting confused. Having one resolved the issue.

{
  "name": "dreamybot",
  "version": "1.0.0",
  "description": "Specialy made for server.",
  "main": "index.js",
   "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "node index.js"
  },
   "engines": { "node": "8.4.0" },
  "dependencies": {
    "array-sort": "^1.0.0",
    "canvas": "^1.6.10",
    "canvas-constructor": "^0.3.0",
    "fs": "0.0.1-security",
    "enmap": "^0.3.2",
    "moment": "^2.18.1",
    "moment-duration-format": "^1.3.0",
    "express": "^4.15.5",
    "fs-nextra": "^0.3.2",
    "quick.db": "^5.5.1",
    "quick.hook": "^1.2.2",
    "sequelize": "^4.37.6",
    "simple-youtube-api": "^5.0.1",
    "snekfetch": "^3.6.4",
    "sqlite": "^2.9.1",
    "sqlite3": "^4.0.0",
    "string-similarity": "^1.2.0",
    "table": "^4.0.3",
    "util": "^0.10.3",
    "ytdl-core": "^0.20.2"
  },
  "devDependencies": {
    "discord.js": "github:discordjs/discord.js",
    "eslint-config-aqua": "^3.0.0"
  },
  "author": "DreamPlayer",
  "license": "MIT"
}
events.js:182
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::3000
at Object._errnoException (util.js:1041:11)
at _exceptionWithHostPort (util.js:1064:20)
at Server.setupListenHandle [as _listen2] (net.js:1322:14)
at listenInCluster (net.js:1370:12)
at Server.listen (net.js:1466:7)
at Function.listen (/rbd/pnpm-volume/6fa3d80d-f61c-4feb-aa62-289e41d21b3d/node_modules/.registry.npmjs.org/express/4.16.4/node_modules/express/lib/application.js:618:24)
Jump to
at Object.<anonymous> (/app/index.js:18:5)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:598
a few seconds ago
events.js:182
    throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::3000
at Object._errnoException (util.js:1041:11)
at _exceptionWithHostPort (util.js:1064:20)
at Server.setupListenHandle [as _listen2] (net.js:1322:14)
at listenInCluster (net.js:1370:12)
at Server.listen (net.js:1466:7)
at Function.listen (/rbd/pnpm-volume/6fa3d80d-f61c-4feb-aa62-289e41d21b3d/node_modules/.registry.npmjs.org/express/4.16.4/node_modules/express/lib/application.js:618:24)
Jump to
at Object.<anonymous> (/app/index.js:18:5)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:598:3

getting this error now


MOD EDIT" formatting

I removed the duplicate, so pasting your now fixed package.json file won’t show an issue.

Your new error is caused by multiple libraries trying to listen on a port. You can only listen on a single port at any one time, so you need to find in your code or dependencies which are doing that.

Fixed Thank you So Much