holochain-open-dev / holochain-open-dev/templates

pnpm version requirement cannot be met

Open
#10 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Handlebars
Stars
13
Forks
2
PR merge metrics
No merged PRs in 30d

Description

A freshly scaffolded app cannot be installed/executed using pnpm, because the [version requirement of `>=9.0.0`](https://github.com/holochain-open-dev/templates/blob/main/templates/app/web-app/package.json.hbs#L20) cannot be met and such commands fail with

```sh
$ pnpm i
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your pnpm version is incompatible with "/Users/jost/Desktop/holochain/scaffolded-tryorama/peter".

Expected version: >=9.0.0
Got: 8.15.5

This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.

To install the latest version of pnpm, run "pnpm i -g pnpm".
To check your pnpm version, run "pnpm -v".
```

The latest version of pnpm to date is `8.15.6`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.