Skip to content

Update the corepack enable prerequisite to latest approach for installing pnpm as used in cookieplone templates #1877

@acsr

Description

@acsr

In the linked line the resolution for recent issues with pnpm and how they can be resolved is not reflected:
https://github.com/plone/documentation/blame/a9d545efb96ba2c466db2a69c724294d5f7ebff6/docs/install/create-project-cookieplone.md#L101

In current cookieplone we replaced all occurences related to install pnpm and corepack enable were changed from corepack enable to:

npm i -g corepack@latest && corepack enable

see: plone/cookieplone-templates#162
and: https://community.plone.org/t/corepack-problems-specially-in-ci/20597

@ksuess mentioned this docs as reference with no need to change in this ticket comment: plone/training#925 (comment)
But I guess the pitfall with pnpm still remains if not updating this prerequisite here.

Why should it be changed?

  • It is hard for insiders to discover the situation if your setup already satisfies the prerequisites.
  • I was struggling with the old cookiecuter-plone-starter while that relied on yarn and no one could reproduce my challenge at that time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions