Skip to content

Deploy fails with missing file errors and unexpected packaging failure #21

@mazdakdev

Description

@mazdakdev

Summary

Deploy command results in multiple missing file errors (TS6053) and ends with a critical error:
"A VERY UNEXPECTED ERROR HAPPENED THAT SHOULD NOT!"

Additionally, the deployment is halted due to TypeScript language service diagnostics and deprecation warnings from Node.js.

Steps to Reproduce

  1. Follow the docs in README.md and run the following command:

rc-apps deploy --url http://localhost:3000 --username mazdakdev --password notsecuretest

  1. Observe the error output:
Starting App Deployment to Server
Getting Server Info... ✓

[
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/endpoints/incoming.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/handlers/ExecuteBlockActionHandler.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/handlers/ExecuteViewSubmitHandler.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/helpers/blockBuilder.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/lib/const.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/lib/message.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/modals/editTaskModal.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/modals/getFoldersModal.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/modals/getListsModal.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/modals/getSpacesModal.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/modals/saveWorkspaceModal.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/slashcommands/clickUp.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/storage/roomInteraction.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/storage/subscription.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  },
  {
    file: undefined,
    start: undefined,
    length: undefined,
    code: 6053,
    category: 1,
    messageText: {
      messageText: "File 'src/storage/users.ts' not found.",
      category: 1,
      code: 6053,
      next: [Array]
    },
    relatedInformation: undefined
  }
]

A VERY UNEXPECTED ERROR HAPPENED THAT SHOULD NOT!

Packaging the app... ✖

2025-08-27 06:58:55.406 WARN  App has external module(s) as dependency  
2025-08-27 06:58:56.008 WARN  App has native module(s) as dependency  

(node:2972) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.  
(Use `node --trace-deprecation ...` to show where the warning was created)  

(node:2972) [DEP0047] DeprecationWarning: The `util.isDate` API is deprecated. Please use `arg instanceof Date` instead.  

» Error: ⟿ Language Service's Compiler Options Diagnostics contains 15 diagnostics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions