Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン 初心者向け
#10,699 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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日 10時間
マージ済み PR(30日)
38

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

parse-community/parse-server のほかの issue

parse-community/parse-server の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。