fn resolve_from_package_json( processing_file: &Path, root_dir: &Path, cwd: &Path, package_json_seen: &mut FxHashMap<String, PackageJsonExtended>, ) -> Result<PathBuf, String>