Adjective-Object / good-fences-rs-core

8 stars 0 forks source link

Unable to find --project path #48

Open fernandes77 opened 1 year ago

fernandes77 commented 1 year ago
import { goodFences } from "@good-fences/api";

goodFences({
  paths: ["../components", "../pages"],
  project: "../tsconfig.json",
});

When we run this file, it fails with: Unable to find --project path: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })

Why is it not finding tsconfig.json?

We get the same results when using the CLI.

Repo

https://github.com/fernandes77/good-fences-test

good-fences file

https://github.com/fernandes77/good-fences-test/blob/main/script/good-fences.mjs

Failed good-fences on CI

https://github.com/fernandes77/good-fences-test/actions/runs/4744302767/jobs/8425028573

aperkaz commented 1 month ago

Any updates on this? I have the same issue