Node.js version in `.nvmrc` does not satisfy `engines.node`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
将 .nvmrc 中的 Node.js 版本与 package.json 中的 engines.node 范围以及 issue 中描述的依赖要求进行比较。将 .nvmrc 更新为兼容版本,然后运行 nvm use 和 npm ci,以确认所选版本满足声明的 engines 且没有警告。
由索引模型根据 Issue 内容生成。
描述
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
.nvmrc pins Node.js 20.15.0, which is below the minimum Node.js version declared in engines.node of package.json (>=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.11.0 <25.0.0). Developers who run nvm use in the repository get a Node.js version that Parse Server does not support.
Several dependencies already require at least Node.js 20.19.0, for example:
@noble/hashes2.0.1 (production):>= 20.19.0eslint-plugin-expect-type0.7.0 (development):^20.19.0 || >=22.12.0
CI is not affected because it does not read .nvmrc.
This came up in the review of #10697.
Steps to reproduce
- Check out
alpha. - Run
nvm use; Node.js 20.15.0 is selected. - Run
npm ci; npm warns about unsupported engines.
Actual Outcome
.nvmrc selects Node.js 20.15.0, which does not satisfy engines.node.
Expected Outcome
.nvmrc selects a Node.js version that satisfies engines.node and the engine requirements of the dependencies, e.g. a current Node.js 20.19.x or newer LTS release.
Environment
Server
- Parse Server version:
9.10.2-alpha.4(alphabranch) - Operating system: any
- Local or remote host: local development
Database
- Not applicable
Client
- Not applicable
Logs
Not applicable
- 主要语言
- JavaScript
- 星标
- 21.4k
- 派生
- 4.8k
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 43
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
parse-community/parse-server 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
parse-community/parse-server#10710 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
parse-community/parse-server#10634 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
parse-community/parse-server#10631 · 1 条评论 ·
维护者通常 1 天内回复
-
/installations and /audiences reject a find sent as POST + _method=GET with "Invalid key name: 0"未关闭
难度 2/5 半天 新手友好度 65/100
parse-community/parse-server#10626 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
parse-community/parse-server#10619 · 1 条评论 ·
维护者通常 1 天内回复
查看 parse-community/parse-server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 74/100
solana-foundation/solana-com#2202 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
yegor256/copyrights-action#216 ·
-
[BUG] onScroll never refreshes the window container's height after a vertical-only viewport resize未关闭
难度 2/5 1-3 小时 新手友好度 88/100
juliangarnier/anime#1192 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#226 ·
维护者通常 1 天内回复