You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing 'npx yarn install' with the following package.json (see later) results in an error:
Grzegorzs-MacBook-Pro:yarn-test g$ npx yarn install
yarn install v1.22.19
info No lockfile found.
[1/4] 🔍 Resolving packages...
warning lerna > @lerna/create > pacote > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
warning lerna > @lerna/bootstrap > @npmcli/arborist > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
warning lerna > @lerna/bootstrap > @npmcli/arborist > [email protected]: This functionality has been moved to @npmcli/fs
warning lerna > @lerna/bootstrap > @npmcli/arborist > readdir-scoped-modules > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[2/4] 🚚 Fetching packages...
error @yarnpkg/[email protected]: The engine "node" is incompatible with this module. Expected version ">=18.12.0". Got "14.19.3"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
To reproduce
Switch to node 14 (tested with 14.19.3 and 14.21.3)
Create a folder with just one file, the following package.json:
@yarnpkg/[email protected]: The engine "node" is incompatible with this module. Expected version ">=18.12.0". Got "16.20.0"
Hope the fix will be ASAP, because we cant to change the node version in our project.
Self-service
Describe the bug
Executing 'npx yarn install' with the following package.json (see later) results in an error:
To reproduce
Switch to node 14 (tested with 14.19.3 and 14.21.3)
Create a folder with just one file, the following package.json:
npx yarn install
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: