`PATH.resolve` → `require.resolve`