Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derived Columns Deploy Typescript Issue #1557

Open
abegehr opened this issue May 22, 2024 · 1 comment
Open

Derived Columns Deploy Typescript Issue #1557

abegehr opened this issue May 22, 2024 · 1 comment

Comments

@abegehr
Copy link

abegehr commented May 22, 2024

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

@abegehr
Copy link
Author

abegehr commented May 22, 2024

I'm getting the same error on a different table now, where I added a BuildShip Trigger extension. Seems like this might affect all tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant