Open 42Willow opened 3 days ago
I think this is because pnpm
hotloads when dlx
, not refer locally. bunx
and npx
have local cache priority, so if it's in node_modules
, they use it.
As with npx, bunx will check for a locally installed package first, then fall back to auto-installing the package from npm. Installed packages will be stored in Bun's global cache for future use.
Describe the bug
For some reason the error is only when using the pnpm package manager, I ran into this issue when migrating over to pnpm from bun and my ci stopped working.
I have not tested with
yarn
, but I know it works for bothbun
andnpm
Reproduction
https://github.com/schooltape/schooltape
Steps to reproduce
clone the repo
pnpm install
pnpx wxt
ORpnpm dlx wxt
System Info
Used Package Manager
pnpm
Validations