forked from request/request
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed as not planned
Description
Situation
GitHub Actions CI workflow yarn.yaml runs against node-version: 18.16, where the command yarn install fails:
[3/5] Fetching packages...
error ink@6.0.1: The engine "node" is incompatible with this module. Expected version ">=20". Got "18.16.1"
error Found incompatible module.
Assessment
-
ink@3.2.0 is a dependency of tap@15.2.3 where
inkis also listed underbundleDependencies. This seems to allow a wildcard version selection, that includes the latest ink versionink@6.0.1, and exposes a bug in Yarn Classic (v1). Yarn Modern and npm don't have a problem with this. -
Using the following command can work around the Yarn Classic bug
yarn install --ignore-engines
-
Once dependencies have been installed using the above workaround, executing
yarn testnow fails.
Metadata
Metadata
Assignees
Labels
No labels