Skip to content

Derived Columns Deploy Typescript Issue #1557

@abegehr

Description

@abegehr

Describe the bug
I made a minor change to a derived column function (content of a string) and it doesn't deploy anymore. Even when reverting the change, it doesn't deploy. It deployed before successfully.
It is failing with the following error:

09:37:15:15  Generating config file...
09:37:15:15  Retrieving config file...
09:37:15:15  Validating config file...
09:37:15:15  Executing: cd build/functionBuilder/builds/1716363423384/src;tsc functionConfig.ts
09:37:30:30  stdout: {"error":{"code":2,"killed":false,"signal":null,"cmd":"cd build/functionBuilder/builds/1716363423384/src;tsc functionConfig.ts"},"stdout":"../node_modules/@types/node/events.d.ts(92,43): error TS2370: A rest parameter must be of an array type.
","stderr":""}
09:37:30:30  ../node_modules/@types/node/events.d.ts(92,43): error TS2370: A rest parameter must be of an array type.
[…]
errorStackTrace: Error: Command failed: cd build/functionBuilder/builds/1716363423384/src;tsc functionConfig.ts
    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
09:37:30:30  Build Failed:

Is there a way that I can debug this? It seems to me that the issue is with the typescript config, as the error says the issue is in @types/node package and not my code.

Expected behavior
I'd expect Typescript to compile as before.

Rowy Run version
Rowy Run v1.9.2

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 124.0.6367.208

Additional context
Reference: https://discord.com/channels/853498675484819476/1243082413987463228/1243082413987463228

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