-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Specify Node.js without npm --local deprecation bug #26443
Comments
@MikeMcC399 The current node version is This will update when #26246 or #26416 is merged. If we get onto electron@23/electron@24, this will be node |
Thank you very much for the explanation! Good to know what the reason behind the setting is and that there is a prospect that Electron
Edit: Now consistently showing Node.js |
@MikeMcC399 that electron upgrade is something we are planning as we speak. Hopefully will happen soon. |
According to https://www.electronjs.org/docs/latest/tutorial/electron-timelines#timeline Electron 21 entered end-of-life status on April 4, 2023. Did you come to any decision about migrating to a supported version? |
CONTRIBUTING: Requirements says: RequirementsYou must have the following installed on your system to contribute locally:
From your explanation it sounds like that should not be "minimum version requirements" but rather "exact version requirements". Did I understand this correctly? |
@MikeMcC399 Cypress maintains a minimum node requirement that is specified here. For development aligned, we use the same node version shipped with the electron version. If you'd like to update this verbiage, that would be great. As for migrating to the next Electron version, it's always a time-consuming effort and we are intended to update soon. Cypress typically does not bump minor versions (often) so it reaching EOF only means we lose out on fixes that would be provided in a newer version. We will get updated soon 😄 |
Many thanks again for your response. I'm going to close this issue because it is basically tied to the Electron update for which there are already open PRs:
The question about the wording in CONTRIBUTING: Requirements is best followed up through the following and I will look at providing new verbiage there: |
What would you like?
I would like to be able to use the version of Node.js specified in .node-version to install yarn without receiving an error message.
Why is this needed?
Executing
npm install yarn -g
should not produce warnings.Other
.node-version currently contains
16.16.0
.Suggestion
This issue was solved in npm v8.12.1.
So perhaps you could bump to at least Node.js
16.17.0
(includes npm8.15.0
), if not Node.js 16.20.0 (includes npm8.19.4
)?The text was updated successfully, but these errors were encountered: