Resolvi dessa forma, colocando o fallback do getStaticPaths como "blocking"
export async function getStaticPaths() {
const requestProjects = await axios.get(
"https://api.fernandorangel.com.br/show-projects"
);
const paths = requestProjects.data.map((project: ProjectObject) => ({
params: { id: project.id.toString() },
}));
return {
paths,
fallback: "blocking",
};
}