-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Last pnpm version that worked
9.15.9
pnpm version
=10.13.1
Code to reproduce the issue
mkdir -p my-app
mkdir -p my-lib
echo '{
"packageManager": "pnpm@10.13.1"
}' > package.json
echo 'packages:
- '\''my-app'\''
- '\''my-lib'\''' > pnpm-workspace.yaml
echo 'link-workspace-packages=true' > .npmrc
echo '{
"name": "my-app",
"dependencies": {
"@super-secret/my-lib": "2.0.0"
}
}' > my-app/package.json
echo '{
"name": "@super-secret/my-lib",
"version": "1.0.0",
}' > my-lib/package.json
Expected behavior
ERR_PNPM_FETCH_404 GET https://registry.npmjs.org/@super-secret%2Fmy-lib: Not Found - 404
This error happened while installing a direct dependency of
@super-secret/my-lib is not in the npm registry, or you have no permission to fetch it.
No authorization header was set for the request.
Actual behavior
Legend: production dependency, optional only, dev only
my-app@1.0.0
dependencies:
@super-secret/my-lib link:../my-lib
Additional information
This is quite insidious and severe, it basically made pnpm v10 unusable for our purposes. Affects all platforms as far as I can tell.
Node.js version
20.19.3
Operating System
Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels