diff --git a/Herebyfile.mjs b/Herebyfile.mjs index e8803a00a7d..34c8e65bb44 100644 --- a/Herebyfile.mjs +++ b/Herebyfile.mjs @@ -515,6 +515,7 @@ const { main: watchGuard, watch: watchWatchGuard } = entrypointBuildTask({ export const generateTypesMap = task({ name: "generate-types-map", run: async () => { + await fs.promises.mkdir("./built/local", { recursive: true }); const source = "src/server/typesMap.json"; const target = "built/local/typesMap.json"; const contents = await fs.promises.readFile(source, "utf-8");