From 82bb50619f789d9fb37b4451b64ec13c06dd5c63 Mon Sep 17 00:00:00 2001 From: Nathan Marley Date: Fri, 20 Jun 2025 07:12:36 -0500 Subject: [PATCH] fix: switch to ESM export to avoid mixed format (#633) * fix: switch to ESM export to avoid mixed format The CLI entrypoint was using `module.exports` alongside ESM `import` statements, resulting in an invalid mixed module format. Replaced the CommonJS export with a proper ESM `export` to maintain consistency and prevent module resolution issues. * chore: add changeset --------- Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> --- .changeset/stale-cameras-sin.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/stale-cameras-sin.md diff --git a/.changeset/stale-cameras-sin.md b/.changeset/stale-cameras-sin.md new file mode 100644 index 00000000..e13e1997 --- /dev/null +++ b/.changeset/stale-cameras-sin.md @@ -0,0 +1,5 @@ +--- +"task-master-ai": patch +--- + +Fix weird `task-master init` bug when using in certain environments