You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed an ENOENT exception when a dependency does not export package.json, and your repo is set up as a monorepo using pnpm.
Note
This does not fix the actual search algorithm. We shouldn't be using require.main.paths here because it does not point to the correct starting point, the project root.
This change only fixes the case where we cannot find package.json at all.