Skip to main content

Uploading changes to app versions

  • September 28, 2022
  • 3 replies
  • 1312 views

  • Participating Frequently

Hi all, I have a custom app that i have developed through the quickstart integration for nodejs. When i am running the server locally (npm run-sript start) all is fine and dandy - no issues.

I am confused about how this gets pushed back to monday. If I am not running the server locally it appaers to not work at all. Could this please be clarified?

3 replies

basdebruin
  • Community Expert
  • September 28, 2022

hi @Adurm

That depends on the type of app. If it is an integration you need to run the NodeJS part on an Internet connected server. For (board)views you can upload the app to monday.


  • Author
  • Participating Frequently
  • September 28, 2022

bummer… i thought that would be the case.

I uploaded it to an external server, but unfortunately something doesnt transfer across from the quickstart integration setup as it fails to deploy with the error:

[2022-09-28 05:28:32] node:events:491
[2022-09-28 05:28:32]       throw er; // Unhandled 'error' event
[2022-09-28 05:28:32]       ^
[2022-09-28 05:28:32] 
[2022-09-28 05:28:32] Error: spawn lsof ENOENT
[2022-09-28 05:28:32]     at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
[2022-09-28 05:28:32]     at onErrorNT (node:internal/child_process:478:16)
[2022-09-28 05:28:32]     at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2022-09-28 05:28:32] Emitted 'error' event on ChildProcess instance at:
[2022-09-28 05:28:32]     at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
[2022-09-28 05:28:32]     at onErrorNT (node:internal/child_process:478:16)
[2022-09-28 05:28:32]     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
[2022-09-28 05:28:32]   errno: -2,
[2022-09-28 05:28:32]   code: 'ENOENT',
[2022-09-28 05:28:32]   syscall: 'spawn lsof',
[2022-09-28 05:28:32]   path: 'lsof',
[2022-09-28 05:28:32]   spawnargs: [ '-s', 'TCP:LISTEN', '-i', ':8302' ]
[2022-09-28 05:28:32] }

  • New Participant
  • October 24, 2022

I’ve had the same issue while using Docker to run the app.

To resolve this I’ve removed the kill-port command from the “stop” within package.json:

{
  "name": "monday-integration-quickstart",
  "version": "0.0.1",
  "license": "MIT",
  "scripts": {
    "start": "npm run stop && npm run server",
    "server": "nodemon ./src/app.js",
    "stop" : ""
  },