ui
ui copied to clipboard
Docs: CLI only works with pnpm dlx not with pnpx
If I use pnpx I get this error:
node:internal/modules/cjs/loader:1078
throw err;
^
Error: Cannot find module 'D:\Program Files (x86)\pnpm\global\5\node_modules\pnpm\bin\pnpx.cjs'
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.16.0
pnpx has been deprecated in favor of pnpm dlx in pnpm. 👍
pnpxhas been deprecated in favor ofpnpm dlxinpnpm. 👍
Correct. That's why I think the Docs should be updated