Lines Matching refs:pkgPath
412 const { data: pkg, path: pkgPath } = readPackageScope(parentPath) || {};
427 pathToFileURL(pkgPath + '/package.json'), expansion, pkg,
428 pathToFileURL(parentPath), cjsConditions), request, parentPath, pkgPath);
431 throw createEsmNotFoundErr(request, pkgPath + '/package.json');
446 const pkgPath = path.resolve(nmPath, name);
447 const pkg = readPackage(pkgPath);
451 pathToFileURL(pkgPath + '/package.json'), '.' + expansion, pkg, null,
452 cjsConditions), request, null, pkgPath);
455 throw createEsmNotFoundErr(request, pkgPath + '/package.json');
908 function finalizeEsmResolution(match, request, parentPath, pkgPath) { argument
923 path.resolve(pkgPath, 'package.json'));