Open fernandes77 opened 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?
tsconfig.json
We get the same results when using the CLI.
https://github.com/fernandes77/good-fences-test
https://github.com/fernandes77/good-fences-test/blob/main/script/good-fences.mjs
https://github.com/fernandes77/good-fences-test/actions/runs/4744302767/jobs/8425028573
Any updates on this? I have the same issue
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