Node.js version in `.nvmrc` does not satisfy `engines.node`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
.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日 10時間
- マージ済み PR(30日)
- 38
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
parse-community/parse-server のほかの issue
-
難易度 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 日以内に返信
-
type:meta
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
parse-community/parse-server#10613 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
parse-community/parse-server の issue をすべて見る
似ている issue
-
curriculum documentation quality
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-aw-workshop#3897 ·
メンテナーはふだん 2 日以内に返信
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
難易度 2/5 1〜3時間 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
check:failed feeds:add
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
iptv-org/database#36179 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信