Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Node.js version in `.nvmrc` does not satisfy `engines.node`

未关闭 适合新手
#10,699 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
92/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
node.js
领域
tooling

调研方向

将 .nvmrc 中的 Node.js 版本与 package.json 中的 engines.node 范围以及 issue 中描述的依赖要求进行比较。将 .nvmrc 更新为兼容版本,然后运行 nvm use 和 npm ci,以确认所选版本满足声明的 engines 且没有警告。

由索引模型根据 Issue 内容生成。

描述

New Issue Checklist
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/hashes 2.0.1 (production): >= 20.19.0
  • eslint-plugin-expect-type 0.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
  1. Check out alpha.
  2. Run nvm use; Node.js 20.15.0 is selected.
  3. 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 (alpha branch)
  • 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

parse-community/parse-server 的其他 Issue

查看 parse-community/parse-server 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。