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

fix(cli): tsc build errors should fail turborepo builds as well #3923

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

netroy
Copy link
Member

@netroy netroy commented Aug 23, 2022

No description provided.

@netroy netroy requested a review from ivov August 23, 2022 12:04
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Aug 23, 2022
Copy link
Contributor

@ivov ivov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed working, Turborepo build halts on tsc build fail for cli package.

n8n:build: cache miss, executing c4eed8e4537c69c9
n8n:build:
n8n:build: > [email protected] build
n8n:build: > node scripts/build.mjs
n8n:build:
n8n:build: Typescript Compilation failed:
n8n:build: src/ActiveExecutions.ts(73,34): error TS2589: Type instantiation is excessively deep and possibly infinite.
n8n:build:
n8n:build: npm ERR! Lifecycle script `build` failed with error:
n8n:build: npm ERR! Error: command failed
n8n:build: npm ERR!   in workspace: [email protected]
n8n:build: npm ERR!   at location: /Users/ivov/Desktop/n8n2/packages/cli
n8n:build: ERROR: command finished with error: command (packages/cli) npm run build exited (1)
command (packages/cli) npm run build exited (1)

In future it should halt for tsc build errors in any package.

@netroy
Copy link
Member Author

netroy commented Aug 23, 2022

In future it should halt for tsc build errors in any package.

we already do that. cli is a special case because of the custom build script.

@netroy netroy merged commit f22bd28 into n8n-io:master Aug 23, 2022
@netroy netroy deleted the turborepo-tsc-build-error branch August 23, 2022 15:06
@janober janober added Upcoming Release Will be part of the upcoming release and removed Upcoming Release Will be part of the upcoming release labels Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants