import o from"node:process";import r from"../../../../_virtual/index24.mjs";import{ConfigurationError as e}from"./errors.mjs";import t from"./resolveSilent.mjs";function i(i,n,m=o.cwd()){let s=t(i,n);if(s||(s=t(m,n)),s||(s=t(r,n)),!s)throw new e(`Could not find "${n}". Do you need to install the package or use the "configBasedir" option?`);return s}export{i as default};