-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions #1984
Comments
## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
cspell/packages/cspell/package.json Lines 87 to 89 in 020e931
|
## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
Agreed, the package does declare the requirement, and so, this is not a bug report. But Hence, this feature request that would have Thanks for the attention and consideration. |
## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
….2.8 ## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
….2.8 ## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
….2.8 ## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
….2.8 ## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
….2.8 ## [why] `cspell` in CI started mysteriously failing mid-2021. Tracking down the error took some time as it was not obvious from `cspell` feedback where the issue lay. Ultimately, it was discovered that `cspell` had deprecated use on NodeJS versions < v12 for `cspell` v5+. `cspell` is now pinned to v4.2.8, with a maintenance note to allow an upgrade to the `cspell` version when a version of NodeJS >= v12 is being used in the CI. An issue requesting better tool feedback for similar situations was also opened on the `cspell` repo.[*] [*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](streetsidesoftware/cspell#1984)
I'm fine with a PR. |
Sure. I'll take a look. |
Close by #2111 |
Why roll back to cspell v4? I know it requires Node 12 and above, but the GitHub workflow allows you to easily use newer node versions. Is there someplace in your tooling that requires Node 10? |
@Jason3S , I rolled back to I'll roll forward when either GitHub updates their VMs to newer NodeJS versions by default or when I get a chance to investigate the costs (code/time) of upgrading the test machines to a higher version of NodeJS. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is your feature request related to a problem? Please describe.
Yes, tracking down a weird
cspell
CI failure (Configuration Error: Failed to find config file at: "'.vscode/cSpell.json'"
for a file that obviously existed) lead to the realization thatcspell
deprecated NodeJS v10 after a couple of hours banging on the CI hosts. It would have been much quicker and easier to fix ifcspell
had simply emitted a warning (or error) that the use on a current JS version < vM.m was no longer supported.Describe the solution you'd like
Please emit a warning or an error to the user that the Node JS version is not supported whenever the script is run on a outdated/non-supported version.
The text was updated successfully, but these errors were encountered: