Reactjs – How do I fix a MODULE_NOT_FOUND error for a module that I don't manually import?
I was just trying to install a shadcn package and was met with this extremely strange error: ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "cache" not found node:internal/modules/cjs/loader:1275 const err = new Error(`Cannot find module '${request}'`); ^ Error: Cannot find module '/Users/XXX/Library/Caches/pnpm/dlx/hx67qbkz3shxeflxwe2je2aqw4/193af67f081-15278/node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js' at createEsmNotFoundErr (node:internal/modules/cjs/loader:1275:15)…