pnpm icon indicating copy to clipboard operation
pnpm copied to clipboard

fix: installation failed due to installation link redirection (v11)

Open btea opened this issue 2 weeks ago • 0 comments

In version 11, the node-fetch version was changed from npm:@pnpm/[email protected] to ^3.3.2, causing the location header to return a relative path when installing dependencies via pkg.pr.new, thus preventing new URL(location) from parsing.

Therefore, for compatibility, a special conversion for relative paths is implemented to ensure correct logic.

pnpm add https://pkg.pr.new/vue@14175

btea avatar Dec 07 '25 08:12 btea