#54502 closed task (blessed) (fixed)
Pin NodeJS 14.x in the `.nvmrc` file
Reported by: | desrosj | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
NodeJS 16.x is now considered the latest LTS version as of 2021-10-26. If a contributor runs nvm use
or nvm install
, version 16.x will be downloaded and installed.
While it appears that npm run build
and other scripts still work as expected, NPM version 7 introduces a new format for package-lock.json
files. Contributors will notice unintentional changes to that file. See #52951 for updating the lock file format.
Since Gutenberg now enforces version 14
(see GB-36744), I think it makes sense to change Core's version as well, even if temporarily, until compatibility with NodeJS 16 for both Gutenberg and Core can be confirmed, and the package-lock.json
for both repositories can be upgraded to v2
format at the same time.
Change History (9)
This ticket was mentioned in Slack in #core by sergey. View the logs.
3 years ago
#3
@
2 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This change also needs to be backported to the 5.8 branch, which still has lts
specified in the .nvmrc
file.
In 52240: