hyperweb-io / hyperweb-io/create-hyperweb-app

packageManager yarn4 breaks usage of cha

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16
Forks
5
PR merge metrics
No merged PRs in 30d

Description

```sh
error This project's package.json defines "packageManager": "yarn@4.3.0". However 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 distributions 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.
```

removing `packageMangager` from package.json seems to work

we should check this against and cca, cia

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and reproduce the failure using the reported global Yarn 1.22.22, then compare behavior with Corepack enabled. Check the issue against cca and cia as requested; done means the documented project usage no longer breaks because of the packageManager setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.