Skip to content

Unable to find --project path #48

@fernandes77

Description

@fernandes77
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions