Skip to content

[Docs]: Little problem of yarn version in Chapter Quick-start #12072

@willser

Description

@willser

Summary and description

This page shows yarn need >=1.22.21

:::info Prerequisites
- Redwood requires [Node.js](https://nodejs.org/en/) (=20.x) and [Yarn](https://yarnpkg.com/) (>=1.22.21)
- Are you on Windows? For best results, follow our [Windows development setup](how-to/windows-development-setup.md) guide

But when I try yarn install I got those error message:

yarn install
error This project's package.json defines "packageManager": "[email protected]". Howeve
r the current global version of Yarn is 1.22.22.

Presence of the "packageManager" field indicates that the project is meant to be
used with Corepack, a tool included by default with all official Node.js distri
butions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal.
For more information, check out https://yarnpkg.com/corepack.

It's work after update yarn to 4.6 .

yarn install
➤ YN0000: · Yarn 4.6.0
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-resolution validation
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 1622 packages were added to the project (+ 426.56 MiB).
➤ YN0000: └ Completed in 59s 225ms
➤ YN0000: ┌ Link step
➤ YN0007: │ core-js@npm:3.38.1 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.24.2 must be built because it never has been before or the last one failed
➤ YN0007: │ msw@npm:1.3.4 [a3453] must be built because it never has been before or the last one failed
➤ YN0007: │ @prisma/client@npm:5.20.0 [ebf66] must be built because it never has been before or the last one failed
➤ YN0007: │ @swc/core@npm:1.7.28 [2d360] must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.21.5 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js-pure@npm:3.43.0 must be built because it never has been before or the last one failed
➤ YN0007: │ @prisma/engines@npm:5.20.0 must be built because it never has been before or the last one failed
➤ YN0007: │ @parcel/watcher@npm:2.5.1 must be built because it never has been before or the last one failed
➤ YN0007: │ prisma@npm:5.20.0 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 1m 1s
➤ YN0000: · Done with warnings in 1m 60s

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions