Afordin / aforshow-2024

Event by developers for developers. If you have never given a talk or workshop or want to keep improving, this is the event for you.
38 stars 22 forks source link

[Bug]: Config conflicts with `packageManeger` #39

Closed alesdevux closed 3 months ago

alesdevux commented 3 months ago

Discord Username

No response

Severity Level

Low

Description of the Bug

When new collaborators try to set up this project, even if they have a higher version of pnpm than the specified in the package.json file with "packageManager": ">=pnpm@8.0.0" they encounter this error.

image ERR_PNPM_OTHER_PM_EXPECTED  This project is configured to use >=pnpm

This is because the packageManager only accepts an exact version, we can't configure for a range.

To fix this issue, we can remove this line from package.json. However, we may encounter the same problem in issue #37, and have multiple lock files.

Therefore, I suggest adding these lock files to the .gitignore.

Operating System

macOS

Browser(s)

Chrome, Safari

Browser Version(s)

Latest

Relevant Log Output

No response

Code of Conduct