-
Notifications
You must be signed in to change notification settings - Fork 245
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
Support disabling node version check with environment variable #3817
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Comments
christophgysin
added
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
labels
Nov 1, 2022
Related to #3171 |
RomainMuller
added a commit
that referenced
this issue
Nov 15, 2022
Allows silencing @jsii/check-node warnings when the runtime is not End-of-Life, so that users who know what they are doing can suppress the extraneous output. This is particularly useful for new Node releases that are un-tested, but can typically be expected to work, or known broken releases that happen to work for a given use-case that is carefully crafted to avoid the known issues; but is also possible for deprecated node releases. Messages about using end-of-life releases are intentionally not suppressible. Also updated the message for un-tested and known-broken releases to better frame the fact that these might work fine, and urge users to retry using a known supported release before they file a bug report. Fixes #3817 Fixes #3171
RomainMuller
added a commit
that referenced
this issue
Nov 24, 2022
Allows silencing @jsii/check-node warnings when the runtime is not End-of-Life, so that users who know what they are doing can suppress the extraneous output. This is particularly useful for new Node releases that are un-tested, but can typically be expected to work, or known broken releases that happen to work for a given use-case that is carefully crafted to avoid the known issues; but is also possible for deprecated node releases. Messages about using end-of-life releases are intentionally not suppressible. Also updated the message for un-tested and known-broken releases to better frame the fact that these might work fine, and urge users to retry using a known supported release before they file a bug report. Additionally adds testing for Node 19.x. Fixes #3817 Fixes #3171
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
When running untested versions of node, I get a large warning message, e.g.
While I understand the reason for the warning, I would like a way to tell JSII that I know what I'm doing and not display a warning every single time.
Use Case
Running aws-cdk on the default version that ships with ArchLinux.
Proposed Solution
e.g. by setting an environment variable:
export JSII_DISABLE_NODE_VERSION_CHECK=1
Other Information
No response
Acknowledgements
CDK version used
2.48.0
Environment details (OS name and version, etc.)
Linux 6.0.6-arch1-1
The text was updated successfully, but these errors were encountered: