Skip to content

pnpm version mismatch #166

@james-deee

Description

@james-deee

I think that there is a mismatch between what version of pnpm the checked in pnpm-lock.yaml was created with (and needs to be used to install new packages) and what version the Github actions is setup to use.

The pnpm-lock.yaml file uses a lockfileVersion:

lockfileVersion: '6.0'

But this means that pnpm version 8 was used to create this (and is used to install packages locally). But the github actions setup uses version 9 for pnpm. This can lead to possible differences in building (I hit this locally).

Should resolve this conflict by upgrading pnpm-lock to be of version 9 (or even 10) of pnpm, or should downgrade the version in github actions to 8.

Also, once you decide on one, you should add the packageManager to package.json for the version you choose.

  "packageManager": "[email protected]",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions