Skip to content

Conversation

@sriram-mv
Copy link
Contributor

The --production flag is deprecated in npm 8+ and causes warnings that can be treated as errors. Replace with --omit=dev which is the modern equivalent, supported in npm 7+.

Issue #, if available:

#553

Description of changes

Description of how you validated changes

Tests pass

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The --production flag is deprecated in npm 8+ and causes warnings that
can be treated as errors. Replace with --omit=dev which is the modern
equivalent, supported in npm 7+.
@sriram-mv sriram-mv requested a review from a team as a code owner January 20, 2026 23:31
@github-actions github-actions bot added area/workflow/node_npm pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Jan 20, 2026
Copy link
Contributor

@reedham-aws reedham-aws left a comment

Choose a reason for hiding this comment

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

Approving because --production is deprecated and --omit=dev is the favored solution. However, I'll point out that the referenced issue actually says the issue was separate from this, so should probably remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/workflow/node_npm pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants