ember-cli / ember-cli/ember-source-channel-url

Does not work for pnpm 9.0.5+ and 10

Open
#237 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
4
PR merge metrics
No merged PRs in 30d

Description

pnpm doesn't seem to want to install for
`'ember-source': await getChannelURL('release')`
or any other channel name like alpha, beta etc.

Here's an example ember-release try workflow failing on a public addon, expand the "Test" header:
https://github.com/adopted-ember-addons/ember-data-factory-guy/actions/runs/15038468042/job/42264654677?pr=543

Error message in that workflow
```bash
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for ember-source@6.4.0-release while fetching it from https://registry.npmjs.org/

This error happened while installing a direct dependency of /home/runner/work/ember-data-factory-guy/ember-data-factory-guy/addon

The latest release of ember-source is "6.4.0".

Other releases are:
* old: 5.4.1
* lts: 5.12.0
* beta: 6.5.0-beta.1
* alpha: 6.6.0-alpha.3

If you need the full list of all 631 published versions run "$ pnpm view ember-source versions".
Error!
1
undefined
Error: Process completed with exit code 1.
```

Seems like pnpm might be now verifying the downloaded package version field against what npm published packages exist? I could not find a way to disable this behaviour in pnpm. I tried https://pnpm.io/settings#strictstorepkgcontentcheck

Link to the 9.0.5 release where the change likely occurred that breaks what we're doing here.
https://github.com/pnpm/pnpm/releases/tag/v9.0.5

A discord thread here with more details and initial debugging
https://discord.com/channels/480462759797063690/480523424121356298/1372469855306907658

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.