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(js): node executor should always log error #17622

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

mandarini
Copy link
Member

@mandarini mandarini commented Jun 15, 2023

Current Behavior

When using the nx/js:node executor, error is swallowed unless you're in watch mode.

Expected Behavior

Error should always be logged.

Also, we should infer the outputFileName from the main entrypoint as set in build options.

Related Issue(s)

Fixes #17595 #17627 #17083

@mandarini mandarini requested a review from a team as a code owner June 15, 2023 17:05
@mandarini mandarini requested a review from ndcunningham June 15, 2023 17:05
@vercel
Copy link

vercel bot commented Jun 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 3:58pm

Copy link
Contributor

@meeroslav meeroslav left a comment

Choose a reason for hiding this comment

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

LGTM

e2e/utils/command-utils.ts Outdated Show resolved Hide resolved
@mandarini mandarini force-pushed the fix/js-node-throw-error branch 2 times, most recently from 541b33c to 5c6248c Compare June 16, 2023 15:16
@mandarini mandarini merged commit 36838d6 into nrwl:master Jun 16, 2023
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2023
@mandarini mandarini deleted the fix/js-node-throw-error branch August 22, 2023 12:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants