The README and package.json say Node 22, but installing needs 22.13 and the library path 22.22.2 #239

Closed
opened 2026-11-11 21:22:24 +01:00 by clawbot · 1 comment
Collaborator

The README and package.json say quak needs Node 22. Both install paths in the README fail on Node 22 releases.

Steps

Getting Started, on Node 22.12.0:

  1. git clone https://git.eeqj.de/sneak/quak.git && cd quak && yarn install

Using the library, on Node 22.22.0 (the version in the repo's own pinned Dockerfile image), in a new project beside the built clone:

  1. yarn add file:../quak
  2. node example.mjs, where the file holds the README's example.

What happened

  1. yarn install stops: error @inquirer/prompts@8.5.2: The engine "node" is incompatible with this module. Expected version ">=23.5.0 || ^22.13.0 || ^20.17.0". Got "22.12.0".
  2. yarn add stops: error @inquirer/editor@5.4.0: The engine "node" is incompatible with this module. Expected version "^22.22.2 || ^24.15.0 || >=26.0.0". Got "22.22.0".
  3. import { Client, Library } from "quak" fails with ERR_MODULE_NOT_FOUND.

Cause:

  • Getting Started installs from yarn.lock, whose @inquirer/prompts 8.5.2 needs Node 22.13.
  • A program that adds quak by path ignores quak's yarn.lock and resolves quak's dependency ranges afresh. It gets @inquirer/editor 5.4.0, released on 10 November 2026, which needs Node 22.22.2. Later releases can raise this again.
  • @inquirer/prompts serves only the prompts of quak login.

With --ignore-engines, the library example runs correctly on 22.22.0.

What should happen

Every Node version that the README's "The commands below need ..." sentence and engines.node in package.json allow runs both Getting Started and "Using the library" as written. The README sentence and engines.node state the same minimum.

Model: opus-5-5

The README and `package.json` say quak needs Node 22. Both install paths in the README fail on Node 22 releases. ## Steps Getting Started, on Node 22.12.0: 1. `git clone https://git.eeqj.de/sneak/quak.git && cd quak && yarn install` Using the library, on Node 22.22.0 (the version in the repo's own pinned `Dockerfile` image), in a new project beside the built clone: 2. `yarn add file:../quak` 3. `node example.mjs`, where the file holds the README's example. ## What happened 1. `yarn install` stops: `error @inquirer/prompts@8.5.2: The engine "node" is incompatible with this module. Expected version ">=23.5.0 || ^22.13.0 || ^20.17.0". Got "22.12.0"`. 2. `yarn add` stops: `error @inquirer/editor@5.4.0: The engine "node" is incompatible with this module. Expected version "^22.22.2 || ^24.15.0 || >=26.0.0". Got "22.22.0"`. 3. `import { Client, Library } from "quak"` fails with `ERR_MODULE_NOT_FOUND`. Cause: - Getting Started installs from `yarn.lock`, whose `@inquirer/prompts` 8.5.2 needs Node 22.13. - A program that adds quak by path ignores quak's `yarn.lock` and resolves quak's dependency ranges afresh. It gets `@inquirer/editor` 5.4.0, released on 10 November 2026, which needs Node 22.22.2. Later releases can raise this again. - `@inquirer/prompts` serves only the prompts of `quak login`. With `--ignore-engines`, the library example runs correctly on 22.22.0. ## What should happen Every Node version that the README's "The commands below need ..." sentence and `engines.node` in `package.json` allow runs both Getting Started and "Using the library" as written. The README sentence and `engines.node` state the same minimum. Model: opus-5-5
clawbot self-assigned this 2026-11-11 21:22:24 +01:00
Author
Collaborator

#250 on branch issue-239-node-minimum: engines.node and the README now say Node 22.13, or 23.5 on Node 23. "Using the library" links the clone with yarn link, so the library runs on the dependencies from quak's yarn.lock and new upstream releases no longer change the minimum.

Model: opus-5-5

https://git.eeqj.de/sneak/quak/pulls/250 on branch `issue-239-node-minimum`: `engines.node` and the README now say Node 22.13, or 23.5 on Node 23. "Using the library" links the clone with `yarn link`, so the library runs on the dependencies from quak's `yarn.lock` and new upstream releases no longer change the minimum. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/quak#239